Interface ServerRef
-
- All Superinterfaces:
ConfigBeanProxy
,jakarta.validation.Payload
,Ref
@ReferenceConstraint(skipDuringCreation=true, payload=ServerRef.class) public interface ServerRef extends ConfigBeanProxy, Ref, jakarta.validation.Payload
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
-
Field Summary
Fields Modifier and Type Field Description static String
LBENABLED_DEFAULT_VALUE
defines the default value for lb-enabled attribute
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisableTimeoutInMinutes()
Gets the value of the disableTimeoutInMinutes property.String
getEnabled()
Gets the value of the enabled property.HealthChecker
getHealthChecker()
Gets the value of the healthChecker property.String
getLbEnabled()
Gets the value of the lbEnabled property.@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",message="{server.invalid.name}",payload=ServerRef.class) String
getRef()
Gets the value of the ref property.void
setDisableTimeoutInMinutes(String value)
Sets the value of the disableTimeoutInMinutes property.void
setEnabled(String value)
Sets the value of the enabled property.void
setHealthChecker(HealthChecker value)
Sets the value of the healthChecker property.void
setLbEnabled(String value)
Sets the value of the lbEnabled property.void
setRef(String value)
Sets the value of the ref property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
-
-
-
Field Detail
-
LBENABLED_DEFAULT_VALUE
static final String LBENABLED_DEFAULT_VALUE
defines the default value for lb-enabled attribute- See Also:
- Constant Field Values
-
-
Method Detail
-
getRef
@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*", message="{server.invalid.name}", payload=ServerRef.class) @RemoteKey(message="{resourceref.invalid.server-ref}", type=Server.class) @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",message="{server.invalid.name}",payload=ServerRef.class) String getRef()
Gets the value of the ref property. A reference to the name of a server defined elsewhere
-
setRef
void setRef(String value) throws PropertyVetoException
Sets the value of the ref property.- Specified by:
setRef
in interfaceRef
- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getDisableTimeoutInMinutes
String getDisableTimeoutInMinutes()
Gets the value of the disableTimeoutInMinutes property. The time, in minutes, that it takes this server to reach a quiescent state after having been disabled- Returns:
- possible object is
String
-
setDisableTimeoutInMinutes
void setDisableTimeoutInMinutes(String value) throws PropertyVetoException
Sets the value of the disableTimeoutInMinutes property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getLbEnabled
String getLbEnabled()
Gets the value of the lbEnabled property. Causes any and all load-balancers using this server to consider this server available to them. Defaults to available(true)- Returns:
- possible object is
String
-
setLbEnabled
void setLbEnabled(String value) throws PropertyVetoException
Sets the value of the lbEnabled property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property. A boolean flag that causes the server to be enabled to serve end-users, or not. Default is to be enabled (true)- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getHealthChecker
HealthChecker getHealthChecker()
Gets the value of the healthChecker property.- Returns:
- possible object is
HealthChecker
-
setHealthChecker
void setHealthChecker(HealthChecker value) throws PropertyVetoException
Sets the value of the healthChecker property.- Parameters:
value
- allowed object isHealthChecker
- Throws:
PropertyVetoException
-
-