Class Loadbalancer
- java.lang.Object
-
- org.netbeans.modules.schema2beans.BaseBean
-
- org.glassfish.loadbalancer.admin.cli.beans.Loadbalancer
-
- All Implemented Interfaces:
Cloneable,org.netbeans.modules.schema2beans.Bean
public class Loadbalancer extends org.netbeans.modules.schema2beans.BaseBean
-
-
Constructor Summary
Constructors Constructor Description Loadbalancer()Loadbalancer(int options)Loadbalancer(Node doc, int options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddCluster(Cluster value)static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)intaddProperty2(Property value)static LoadbalancercreateGraph()static LoadbalancercreateGraph(InputStream in)static LoadbalancercreateGraph(InputStream in, boolean validate)static LoadbalancercreateGraph(Node doc)voiddump(StringBuffer str, String indent)StringdumpBeanNode()Cluster[]getCluster()ClustergetCluster(int index)Property[]getProperty2()PropertygetProperty2(int index)protected voidinitFromNode(Node doc, int options)protected voidinitOptions(int options)intremoveCluster(Cluster value)static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)intremoveProperty2(Property value)voidsetCluster(int index, Cluster value)voidsetCluster(Cluster[] value)voidsetProperty2(int index, Property value)voidsetProperty2(Property[] value)intsizeCluster()intsizeProperty2()voidvalidate()-
Methods inherited from class org.netbeans.modules.schema2beans.BaseBean
_getParent, _getRoot, _getXPathExpr, _getXPathExpr, _setChanged, addBeanComparator, addComment, addKnownValue, addPropertyChangeListener, addPropertyChangeListener, addValue, addValue, beanProp, beanProp, beanProp, beanProps, beanPropsIterator, buildPathName, changeDocType, childBeans, childBeans, clone, comments, copyProperty, createAttribute, createAttribute, createBean, createGraph, createGraph, createGraph, createGraph, createProperty, createProperty, createRoot, domBinding, dtdName, dumpAttributes, dumpDomNode, dumpDomNode, dumpDomNode, dumpXml, findAttributeValue, findPropertyValue, findValue, fullName, getAttributeNames, getAttributeNames, getAttributeValue, getAttributeValue, getAttributeValue, getDefaultNamespace, getProperty, getProperty, getValue, getValue, getValueById, getValues, graphManager, hasDomNode, hasName, idToIndex, indexOf, indexToId, init, initPropertyTables, isChoiceProperty, isChoiceProperty, isEqualTo, isNull, isNull, isRoot, knownValues, listAttributes, listAttributes, listChoiceProperties, listChoiceProperties, listProperties, merge, merge, mergeUpdate, name, nameChild, nameChild, nameChild, nameSelf, newInstance, parent, propertyById, reindent, reindent, removeBeanComparator, removeComment, removePropertyChangeListener, removePropertyChangeListener, removeValue, removeValue, removeValue, removeValue, setAttributeValue, setAttributeValue, setAttributeValue, setDefaultNamespace, setDomBinding, setGraphManager, setValue, setValue, setValue, setValue, setValueById, size, toString, write, write, write, write, write, writeNode, writeNoReindent
-
-
-
-
Field Detail
-
CLUSTER
public static final String CLUSTER
- See Also:
- Constant Field Values
-
PROPERTY2
public static final String PROPERTY2
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Loadbalancer
public Loadbalancer()
-
Loadbalancer
public Loadbalancer(Node doc, int options)
-
Loadbalancer
public Loadbalancer(int options)
-
-
Method Detail
-
initFromNode
protected void initFromNode(Node doc, int options) throws org.netbeans.modules.schema2beans.Schema2BeansException
- Throws:
org.netbeans.modules.schema2beans.Schema2BeansException
-
initOptions
protected void initOptions(int options)
-
setCluster
public void setCluster(int index, Cluster value)
-
getCluster
public Cluster getCluster(int index)
-
setCluster
public void setCluster(Cluster[] value)
-
getCluster
public Cluster[] getCluster()
-
sizeCluster
public int sizeCluster()
-
addCluster
public int addCluster(Cluster value)
-
removeCluster
public int removeCluster(Cluster value)
-
setProperty2
public void setProperty2(int index, Property value)
-
getProperty2
public Property getProperty2(int index)
-
setProperty2
public void setProperty2(Property[] value)
-
getProperty2
public Property[] getProperty2()
-
sizeProperty2
public int sizeProperty2()
-
addProperty2
public int addProperty2(Property value)
-
removeProperty2
public int removeProperty2(Property value)
-
addComparator
public static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
-
removeComparator
public static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
-
createGraph
public static Loadbalancer createGraph(Node doc)
-
createGraph
public static Loadbalancer createGraph(InputStream in)
-
createGraph
public static Loadbalancer createGraph(InputStream in, boolean validate)
-
createGraph
public static Loadbalancer createGraph()
-
validate
public void validate() throws org.netbeans.modules.schema2beans.ValidateException- Throws:
org.netbeans.modules.schema2beans.ValidateException
-
dump
public void dump(StringBuffer str, String indent)
- Specified by:
dumpin classorg.netbeans.modules.schema2beans.BaseBean
-
dumpBeanNode
public String dumpBeanNode()
- Overrides:
dumpBeanNodein classorg.netbeans.modules.schema2beans.BaseBean
-
-