public interface Node extends org.jvnet.hk2.config.ConfigBeanProxy, org.glassfish.api.admin.config.Named, org.glassfish.api.admin.config.ReferenceContainer, RefContainer, jakarta.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 |
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() |
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() |
@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 |
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 |
setWindowsDomain(String value)
Sets the value of the windows domain property.
|
getReference, isCluster, isDas, isInstance, isServergetApplicationRef, getResourceRefvoid setName(String value) throws PropertyVetoException
setName in interface org.glassfish.api.admin.config.Namedvalue - 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()
getName in interface org.glassfish.api.admin.config.NamedString getNodeDir()
void setNodeDir(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException - 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
StringPropertyVetoException - if a listener vetoes the changeString getInstallDir()
void setInstallDir(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException - if a listener vetoes the changeString getType()
void setType(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException - 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
StringPropertyVetoException - 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)
@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 © 2017–2020 Eclipse Foundation. All rights reserved.