org.almendra.janet.cas.node
Class NodeDescriptor
java.lang.Object
org.almendra.janet.cas.node.Descriptor
org.almendra.janet.cas.node.NodeDescriptor
public class NodeDescriptor
- extends Descriptor
- Author:
- Oliver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUPPORTED_VERSIONS
public static final StringVector SUPPORTED_VERSIONS
FILE_NAME
public static final java.lang.String FILE_NAME
- See Also:
- Constant Field Values
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
TAG_REGISTRY
public static final java.lang.String TAG_REGISTRY
- See Also:
- Constant Field Values
TAG_VERSION
public static final java.lang.String TAG_VERSION
- See Also:
- Constant Field Values
TAG_SHOW_GUI
public static final java.lang.String TAG_SHOW_GUI
- See Also:
- Constant Field Values
TAG_EXIT_VM_ON_NODE_SHUTDOWN
public static final java.lang.String TAG_EXIT_VM_ON_NODE_SHUTDOWN
- See Also:
- Constant Field Values
TAG_CLEAR_TEXT_TAB_AFTER_LINES
public static final java.lang.String TAG_CLEAR_TEXT_TAB_AFTER_LINES
- See Also:
- Constant Field Values
TAG_VERSION_ATTRIBUTE_NAME
public static final java.lang.String TAG_VERSION_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
TAG_REGISTRY_ATTRIBUTE_CENTRAL_HOSTNAME
public static final java.lang.String TAG_REGISTRY_ATTRIBUTE_CENTRAL_HOSTNAME
- See Also:
- Constant Field Values
TAG_REGISTRY_ATTRIBUTE_CENTRAL_PORT
public static final java.lang.String TAG_REGISTRY_ATTRIBUTE_CENTRAL_PORT
- See Also:
- Constant Field Values
TAG_REGISTRY_ATTRIBUTE_LOCAL_PORT
public static final java.lang.String TAG_REGISTRY_ATTRIBUTE_LOCAL_PORT
- See Also:
- Constant Field Values
TAG_ARBITRATION
public static final java.lang.String TAG_ARBITRATION
- See Also:
- Constant Field Values
TAG_ARBITRATION_ATTRIBUTE_ENABLE_APPLICATION_ARBITRATOR
public static final java.lang.String TAG_ARBITRATION_ATTRIBUTE_ENABLE_APPLICATION_ARBITRATOR
- See Also:
- Constant Field Values
TAG_ARBITRATION_ATTRIBUTE_ENABLE_SYSTEM_ARBITRATOR
public static final java.lang.String TAG_ARBITRATION_ATTRIBUTE_ENABLE_SYSTEM_ARBITRATOR
- See Also:
- Constant Field Values
DESCRIPTOR_BASE_DIR
public static final java.lang.String DESCRIPTOR_BASE_DIR
- See Also:
- Constant Field Values
systemApplicationDescriptor
protected SystemApplicationDescriptor systemApplicationDescriptor
applicationDescriptors
protected java.util.List applicationDescriptors
clusterSpaceDescriptors
protected java.util.List clusterSpaceDescriptors
clusterEventRegistryDescriptors
protected java.util.List clusterEventRegistryDescriptors
versionName
protected java.lang.String versionName
centralRegistryLocation
protected RegistryLocation centralRegistryLocation
localRegistryLocation
protected RegistryLocation localRegistryLocation
localLoggerDescriptor
protected LocalLoggerDescriptor localLoggerDescriptor
showGUI
protected boolean showGUI
exitVMOnNodeShutdown
protected boolean exitVMOnNodeShutdown
clearTextTabAfterLines
protected int clearTextTabAfterLines
enableApplicationArbitrator
protected boolean enableApplicationArbitrator
enableSystemArbitrator
protected boolean enableSystemArbitrator
NodeDescriptor
public NodeDescriptor()
getSystemApplicationDescriptor
public SystemApplicationDescriptor getSystemApplicationDescriptor()
- Returns:
- Returns the systemApplicationDescriptor.
setSystemApplicationDescriptor
public void setSystemApplicationDescriptor(SystemApplicationDescriptor systemApplicationDescriptor)
- Parameters:
systemApplicationDescriptor
- The systemApplicationDescriptor to set.
create
public static NodeDescriptor create(org.jdom.Element element)
throws XMLParseException
- Throws:
XMLParseException
fill
protected void fill(org.jdom.Element element)
throws XMLParseException
- Parameters:
element
-
- Throws:
XMLParseException
fillArbitration
protected void fillArbitration(org.jdom.Element element)
throws XMLParseException
- Parameters:
element
-
- Throws:
XMLParseException
readClearTextTabAfterLines
protected void readClearTextTabAfterLines(org.jdom.Element element)
throws XMLParseException
- Parameters:
element
-
- Throws:
XMLParseException
fillClusterSpaces
protected void fillClusterSpaces(org.jdom.Element element)
throws XMLParseException
- Parameters:
element
-
- Throws:
XMLParseException
fillClusterEventRegistries
protected void fillClusterEventRegistries(org.jdom.Element element)
throws XMLParseException
- Parameters:
element
-
- Throws:
XMLParseException
readShowGUI
protected void readShowGUI(org.jdom.Element element)
throws XMLParseException
- Parameters:
element
-
- Throws:
XMLParseException
checkVersion
protected void checkVersion(org.jdom.Element element)
throws XMLParseException
- Parameters:
element
-
- Throws:
XMLParseException
fillRegistry
protected void fillRegistry(org.jdom.Element element)
throws XMLParseException
- Parameters:
element
-
- Throws:
XMLParseException
getSystemApplication
public SystemApplication getSystemApplication()
throws DescriptorParseException
- Returns:
-
- Throws:
DescriptorParseException
getApplicationDescriptors
public java.util.List getApplicationDescriptors()
- Returns:
- Returns the applicationDescriptors.
setApplicationDescriptors
public void setApplicationDescriptors(java.util.List applicationDescriptors)
- Parameters:
applicationDescriptors
- The applicationDescriptors to set.
getApplications
public java.util.List getApplications()
throws DescriptorParseException
- Throws:
DescriptorParseException
getCentralRegistryLocation
public RegistryLocation getCentralRegistryLocation()
- Returns:
- Returns the centralRegistryLocation.
getLocalRegistryLocation
public RegistryLocation getLocalRegistryLocation()
- Returns:
- Returns the localRegistryLocation.
getLocalLoggerDescriptor
public LocalLoggerDescriptor getLocalLoggerDescriptor()
- Returns:
- Returns the localLoggerDescriptor.
isShowGUI
public boolean isShowGUI()
- Returns:
- Returns the showGUI.
setShowGUI
public void setShowGUI(boolean showGUI)
- Parameters:
showGUI
- The showGUI to set.
getVersionName
public java.lang.String getVersionName()
- Returns:
- Returns the versionName.
getClusterSpaceDescriptors
public java.util.List getClusterSpaceDescriptors()
- Returns:
- Returns the clusterSpaceDescriptors.
getClusterEventRegistryDescriptors
public java.util.List getClusterEventRegistryDescriptors()
- Returns:
- Returns the clusterEventRegistryDescriptors.
setClusterEventRegistryDescriptors
public void setClusterEventRegistryDescriptors(java.util.List clusterEventRegistryDescriptors)
- Parameters:
clusterEventRegistryDescriptors
- The clusterEventRegistryDescriptors to set.
isExitVMOnNodeShutdown
public boolean isExitVMOnNodeShutdown()
- Returns:
- Returns the exitVMOnNodeShutdown.
setExitVMOnNodeShutdown
public void setExitVMOnNodeShutdown(boolean exitVMOnNodeShutdown)
- Parameters:
exitVMOnNodeShutdown
- The exitVMOnNodeShutdown to set.
getClusterSubobjectPrefixes
public static java.lang.String[] getClusterSubobjectPrefixes()
visit
public void visit(java.util.Map values)
- Parameters:
values
-
getClearTextTabAfterLines
public int getClearTextTabAfterLines()
- Returns:
- Returns the clearTextTabAfterLines.
isEnableApplicationArbitrator
public boolean isEnableApplicationArbitrator()
- Returns:
- Returns the enableApplicationArbitrator.
isEnableSystemArbitrator
public boolean isEnableSystemArbitrator()
- Returns:
- Returns the enableSystemArbitrator.