Package moise.reorg
Class ReorgPlan
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
moise.reorg.ReorgPlan
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable,java.util.Collection,java.util.List,java.util.RandomAccess
public class ReorgPlan
extends java.util.ArrayList
implements java.io.Serializable
A reorganisation plan
- Author:
- jomi
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.ClassclassChangeDSstatic java.lang.ClassclassChangeRoleDefProperties(package private) java.lang.Stringproposerprivate static longserialVersionUIDFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors Constructor Description ReorgPlan(java.lang.String proposer) -
Method Summary
Modifier and Type Method Description booleancontains(java.lang.Class c)returns true if the plan contains some action of the class cstatic booleancontains(java.lang.Class c1, java.lang.Class c2)returns true if c1 is a super class of c2voidexecute(OE oe)java.lang.ClassgetFocus()java.lang.StringgetProposer()static voidmain(java.lang.String[] a)private static java.lang.ClassmostGeneral(java.lang.Class c1, java.lang.Class c2)java.lang.StringtoString()Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
classChangeRoleDefProperties
public static java.lang.Class classChangeRoleDefProperties -
classChangeDS
public static java.lang.Class classChangeDS -
proposer
java.lang.String proposer
-
-
Constructor Details
-
ReorgPlan
public ReorgPlan(java.lang.String proposer)
-
-
Method Details
-
getProposer
public java.lang.String getProposer() -
getFocus
public java.lang.Class getFocus() -
contains
public boolean contains(java.lang.Class c)returns true if the plan contains some action of the class c -
execute
- Throws:
MoiseException
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.util.AbstractCollection
-
mostGeneral
private static java.lang.Class mostGeneral(java.lang.Class c1, java.lang.Class c2) -
contains
public static boolean contains(java.lang.Class c1, java.lang.Class c2)returns true if c1 is a super class of c2 -
main
public static void main(java.lang.String[] a)
-