ZPoolExpandNotice.java 579 B

123456789101112131415161718192021222324252627
  1. package hudson.plugins.ec2.ebs;
  2. import hudson.model.AdministrativeMonitor;
  3. import hudson.Extension;
  4. /**
  5. * {@link AdministrativeMonitor} that tells the user that ZFS pool is filling up
  6. * and they need to add more storage.
  7. *
  8. * @author Kohsuke Kawaguchi
  9. */
  10. @Extension
  11. public class ZPoolExpandNotice extends AdministrativeMonitor {
  12. /**
  13. * Set by {@link ZPoolMonitor}.
  14. */
  15. /*package*/ boolean activated = false;
  16. public ZPoolExpandNotice() {
  17. super("zpool.ebs");
  18. }
  19. @Override
  20. public boolean isActivated() {
  21. return activated;
  22. }
  23. }