Package com.ibm.di.util
Class AssemblyLineScripts
- java.lang.Object
-
- 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
Constructors Constructor Description AssemblyLineScripts(AssemblyLineConfig alc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 foundScriptConfig
getScript(java.lang.String key)
Returns the ScriptConfig with the given name.boolean
isEmpty()
Returns true if there are no scripts.
-
-
-
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.
-
-