com.ibm.di.util
Class AssemblyLineScripts

java.lang.Object
  extended by com.ibm.di.util.AssemblyLineScripts

public class AssemblyLineScripts
extends java.lang.Object

Convenience class to get a list of all scripts used by an AssemblyLineConfig.


Constructor Summary
AssemblyLineScripts(AssemblyLineConfig alc)
           
 
Method Summary
 java.util.List<java.lang.String> getAllNames()
          Returns a List of all script names.
 java.lang.String getName(ScriptConfig config)
          Returns the name of the ScriptConfig, as seen by the AssemblyLineConfig.
 java.util.List<java.lang.String> getNotFound()
          Returns a List of the ScriptConfig names that were not found
 ScriptConfig getScript(java.lang.String key)
          Returns the ScriptConfig with the given name.
 boolean isEmpty()
          Returns true if there are no scripts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssemblyLineScripts

public AssemblyLineScripts(AssemblyLineConfig alc)
Method Detail

getScript

public ScriptConfig getScript(java.lang.String key)
Returns the ScriptConfig with the given name.

Parameters:
key - Name of script
Returns:
the ScriptConfig with the given name.

getName

public java.lang.String getName(ScriptConfig config)
Returns the name of the ScriptConfig, as seen by the AssemblyLineConfig.

Parameters:
config -
Returns:
the name of the ScriptConfig, as seen by the AssemblyLineConfig.

getAllNames

public java.util.List<java.lang.String> getAllNames()
Returns a List of all script names.

Returns:
a List of all script names.

isEmpty

public boolean isEmpty()
Returns true if there are no scripts.

Returns:
true if there are no scripts.

getNotFound

public java.util.List<java.lang.String> getNotFound()
Returns a List of the ScriptConfig names that were not found

Returns:
List of names that were not found.