Class ServerScope.Time

java.lang.Object
jenkins.plugins.openstack.compute.ServerScope
jenkins.plugins.openstack.compute.ServerScope.Time
Enclosing class:
ServerScope

public static final class ServerScope.Time extends ServerScope
  • Constructor Details

    • Time

      public Time(int duration, TimeUnit tu)
    • Time

      public Time(String specifier)
  • Method Details

    • isOutOfScope

      public boolean isOutOfScope(@Nonnull org.openstack4j.model.compute.Server server)
      Description copied from class: ServerScope
      Determine whether the server is out of scope or not.
      Specified by:
      isOutOfScope in class ServerScope
    • getValue

      public String getValue()
      Description copied from class: ServerScope
      Get Metadata value that represent this scope.
      Overrides:
      getValue in class ServerScope
    • _equals

      protected boolean _equals(ServerScope o)
      Description copied from class: ServerScope
      Contribute additional criteria for equality. This is mostly useful for testing as the implementations are not expected to have mutable state or any state not represented by specifier.
      Overrides:
      _equals in class ServerScope