public interface Node extends ConfigBeanProxy, Named, ReferenceContainer, RefContainer, javax.validation.Payload
Modifier and Type | Interface and Description |
---|---|
static class |
Node.Decorator |
static class |
Node.DeleteDecorator |
static class |
Node.Duck |
Modifier and Type | Method and Description |
---|---|
String |
getDockerImage() |
String |
getDockerPasswordFile() |
String |
getDockerPort() |
String |
getFreeze()
true if node is frozen and we should not allow new instances
to be created on the nod.
|
String |
getInstallDir()
points to a GlassFish installation root
|
String |
getInstallDirUnixStyle()
Returns the install dir with separators as forward slashes.
|
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",message="{node.invalid.name}",payload=Node.class) String |
getName()
Name of the configured object
|
String |
getNodeDir()
points to the parent directory of the node(s) directory.
|
String |
getNodeDirAbsolute()
Returns the node dir as an absolute path.
|
String |
getNodeDirAbsoluteUnixStyle() |
String |
getNodeDirUnixStyle()
Returns the node dir with separators as forward slashes.
|
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="{nodehost.invalid.name}",payload=Node.class) String |
getNodeHost()
points to a named host.
|
SshConnector |
getSshConnector() |
String |
getType() |
String |
getUseTls() |
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="{windowsdomain.invalid.name}",payload=Node.class) String |
getWindowsDomain()
specifies the windows domain if applicable
|
boolean |
instanceCreationAllowed()
Does the node allow instance creation?
|
boolean |
isDefaultLocalNode()
True if this is the default local node.
|
boolean |
isLocal()
True if the node's nodeHost is local to this
|
boolean |
nodeInUse()
Is a node being used by any server instance?
|
void |
setDockerImage(String dockerImage) |
void |
setDockerPasswordFile(String dockerPasswordFile) |
void |
setDockerPort(String dockerPort) |
void |
setFreeze(String value)
Sets the value of the freeze
|
void |
setInstallDir(String value)
Sets the value of install-dir, the GlassFish installation root.
|
void |
setName(String value)
Sets the node name
|
void |
setNodeDir(String value)
Sets the value of the node-dir, top-level parent directory of node(s)
|
void |
setNodeHost(String value)
Sets the value of the name property.
|
void |
setSshConnector(SshConnector connector) |
void |
setType(String value)
Sets the value of type of this node.
|
void |
setUseTls(String value) |
void |
setWindowsDomain(String value)
Sets the value of the windows domain property.
|
getReference, isCluster, isDas, isDeploymentGroup, isInstance, isServer
getApplicationRef, getResourceRef
createChild, deepCopy, getParent, getParent
void setName(String value) throws PropertyVetoException
setName
in interface Named
value
- node namePropertyVetoException
- if a listener vetoes the change@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*", message="{node.invalid.name}", payload=Node.class) @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",message="{node.invalid.name}",payload=Node.class) String getName()
Named
String getNodeDir()
void setNodeDir(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the change@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*", message="{nodehost.invalid.name}", payload=Node.class) @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="{nodehost.invalid.name}",payload=Node.class) String getNodeHost()
void setNodeHost(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the changeString getInstallDir()
void setInstallDir(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the changeString getType()
void setType(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the change@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*", message="{windowsdomain.invalid.name}", payload=Node.class) @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="{windowsdomain.invalid.name}",payload=Node.class) String getWindowsDomain()
void setWindowsDomain(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the changeString getFreeze()
void setFreeze(String value) throws PropertyVetoException
value
- "true" to freeze node and not allow instances to be createdPropertyVetoException
- if a listener vetoes the changeSshConnector getSshConnector()
void setSshConnector(SshConnector connector)
String getDockerPasswordFile()
void setDockerPasswordFile(String dockerPasswordFile)
String getDockerImage()
void setDockerImage(String dockerImage)
String getDockerPort()
void setDockerPort(String dockerPort)
String getUseTls()
void setUseTls(String value)
@DuckTyped String getInstallDirUnixStyle()
@DuckTyped String getNodeDirUnixStyle()
@DuckTyped String getNodeDirAbsolute()
@DuckTyped String getNodeDirAbsoluteUnixStyle()
@DuckTyped boolean nodeInUse()
@DuckTyped boolean isDefaultLocalNode()
@DuckTyped boolean isLocal()
@DuckTyped boolean instanceCreationAllowed()
Copyright © 2020. All rights reserved.