|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.applier.batch.BatchScript
public class BatchScript
Manages loading and parameterization of batch scripts.
| Constructor Summary | |
|---|---|
BatchScript()
|
|
| Method Summary | |
|---|---|
java.util.List<BatchCommand> |
getParameterizedScript(java.util.Map<java.lang.String,java.lang.String> parameters)
Returns a command script with parameters assigned. |
void |
load(java.io.File scriptFile)
Loads a set of raw commands from an input stream. |
void |
load(java.io.File source,
java.io.Reader reader)
Loads a set of raw commands from an input stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BatchScript()
| Method Detail |
|---|
public void load(java.io.File scriptFile)
throws ReplicatorException
scriptFile - File containing script
ReplicatorException
public void load(java.io.File source,
java.io.Reader reader)
throws java.io.IOException
source - File containing scriptreader - Reader from which to read unparameterized script
java.io.IOException - Thrown if there is an I/O error during readingpublic java.util.List<BatchCommand> getParameterizedScript(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters - Map containing parameters as name/value pairs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||