public class DecisionMethodsList extends Observable implements IDecisionMethodsList, XMLSerializable
IDecisionMethod| Modifier and Type | Field and Description |
|---|---|
protected ArrayList |
list |
protected static Logger |
logger |
xmltag_CATEGORIES, xmltag_CATEGORY, xmltag_CATEGORYTHRESHOLD, xmltag_CLASS, xmltag_EXPLANATION, xmltag_ID, xmltag_METHOD, xmltag_METHODPARAMETER, xmltag_METHODS, xmltag_NAME, xmltag_RULE, xmltag_RULEEXAMPLE, xmltag_RULES, xmltag_TREEROOT| Constructor and Description |
|---|
DecisionMethodsList() |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic void addDecisionMethod(IDecisionMethod method)
addDecisionMethod in interface IDecisionMethodsListpublic boolean add(Object arg0)
add in interface Collectionadd in interface Listpublic IDecisionMethod getMethod(int index)
getMethod in interface IDecisionMethodsListpublic void setMethods(String[] methods)
setMethods in interface IDecisionMethodsListpublic int size()
size in interface Collectionsize in interface Listpublic void clear()
clear in interface Collectionclear in interface Listpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Listpublic Object[] toArray()
toArray in interface CollectiontoArray in interface Listpublic int lastIndexOf(Object arg0)
lastIndexOf in interface Listpublic boolean contains(Object arg0)
contains in interface Collectioncontains in interface Listpublic boolean remove(Object arg0)
remove in interface Collectionremove in interface Listpublic boolean addAll(int arg0,
Collection arg1)
public boolean addAll(Collection arg0)
addAll in interface CollectionaddAll in interface Listpublic boolean containsAll(Collection arg0)
containsAll in interface CollectioncontainsAll in interface Listpublic boolean removeAll(Collection arg0)
removeAll in interface CollectionremoveAll in interface Listpublic boolean retainAll(Collection arg0)
retainAll in interface CollectionretainAll in interface Listpublic Iterator iterator()
public ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int arg0)
listIterator in interface Listpublic Object[] toArray(Object[] arg0)
toArray in interface CollectiontoArray in interface Listpublic void loadPluginsByConfiguration()
public void loadAllFromPlugins()
public void loadFromPlugins(String className)
public void fromXML(Element xml) throws XMLDecisionMethodException
fromXML in interface XMLSerializableXMLDecisionMethodExceptionpublic Element toXML(Document document) throws XMLDecisionMethodException
toXML in interface XMLSerializableXMLDecisionMethodExceptionpublic Element toShallowXML(Document document) throws XMLDecisionMethodException
toShallowXML in interface XMLSerializableXMLDecisionMethodExceptionpublic ArrayList getList()
public void setList(ArrayList list)
Copyright © 2004–2018 Ideaconsult Ltd. All rights reserved.