|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dlsc.flexgantt.policy.AbstractPolicy
public abstract class AbstractPolicy
All policies are subclasses of this abstract policy implementation.
IPolicyProvider| Constructor Summary | |
|---|---|
AbstractPolicy()
|
|
| Method Summary | |
|---|---|
void |
assertClass(java.lang.String methodName,
java.lang.String argName,
java.lang.Class<?> cl,
java.lang.Object obj)
Utility method for detailed problem reporting when an object that gets passed to a policy method does not have the correct type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPolicy()
| Method Detail |
|---|
public void assertClass(java.lang.String methodName,
java.lang.String argName,
java.lang.Class<?> cl,
java.lang.Object obj)
methodName - the method that wants to assert / make sure that the given
object does have the correct typeargName - the name of the method argument that requires a certain object
typecl - the required object typeobj - the object that got passed to the method and that gets checked
for whether it has the right type or not
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||