|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.util.HookTree
public class HookTree
Nested Class Summary | |
---|---|
static class |
HookTree.Phase
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
static String |
getArrayName(Object element)
Return the name of an Object[] used for constructing a HookTree. |
Object[] |
getChildrenArray()
Gets the children of this HookTree. |
ConnectorConfig |
getConfig()
Returns the Associated ConnectorConfig |
HookConfig |
getHookConfig(boolean create)
Return the HookConfig using the name of this HookTree. |
static String |
getHookLabel(HookConfig hc)
Return a user friendly label for the given HookConfig. |
static String |
getHookLabel(String hookName)
Return a user friendly label for the given hook name. |
static Object[] |
getHookNames(String mode)
Returns Internal Hook names for a Connector mode. |
HooksConfig |
getHooksConfig()
Return the HooksConfig used by this HookTree. |
static HookTree |
getHookTree(AssemblyLineConfig alc)
Return a new HookTree for an AssemblyLineConfig |
static HookTree |
getHookTree(ConnectorConfig cc)
Return a new HookTree for a ConnectorConfig |
static HookTree |
getHookTree(ConnectorConfig cc,
HookTree.Phase phase)
Return a new HookTree for a ConnectorConfig in a given Phase. |
static HookTree |
getHookTree(HooksConfig hc)
Return a new HookTree for a HooksConfig. |
String |
getName()
Returns the name of the hook matching this HookTree. |
boolean |
hasChildren()
Returns true is this HookTree has children |
int |
hashCode()
|
boolean |
isEnabled()
Returns true if the HookConfig with this name is enabled. |
void |
setEnabled(boolean enabled)
Set the HookConfig with this name to enabled. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static Object[] getHookNames(String mode)
mode
- A connector mode
public static String getArrayName(Object element)
element
- really an Object[]
public static String getHookLabel(HookConfig hc)
hc
-
public static String getHookLabel(String hookName)
hookName
- - The internal name of the hook.
public static HookTree getHookTree(ConnectorConfig cc)
cc
- The ConnectorConfig
public static HookTree getHookTree(ConnectorConfig cc, HookTree.Phase phase)
cc
- The ConnectorConfigphase
- The Phase
public static HookTree getHookTree(AssemblyLineConfig alc)
alc
- The AssemblyLineConfig
public static HookTree getHookTree(HooksConfig hc)
hc
- The HooksConfig
public HookConfig getHookConfig(boolean create)
create
- - If true, create a HookConfig if it does not exist
public HooksConfig getHooksConfig()
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- public boolean hasChildren()
public Object[] getChildrenArray()
public String getName()
public String toString()
toString
in class Object
public ConnectorConfig getConfig()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |