|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDistributor
Methods that all distributors must have.
| Method Summary | |
|---|---|
void |
distribute(Element config)
Perform the actual distribution work. |
String |
execute(Element command)
Execute a command in a way suitable for this target. |
void |
setTarget(Element target)
Initialize a distributor with a given target. |
| Method Detail |
|---|
void setTarget(Element target)
throws VerinecException
target - The tr:target element of the service configuration to be distributed.
VerinecException - if the target is not usable for this distributor.
void distribute(Element config)
throws VerinecException
config - The configuration data to distribute (i.e. a result-file tag)
VerinecException - if the config is not usable for this distributor.
String execute(Element command)
throws VerinecException
command - A command element of the pre- or post-process for the configuration.
VerinecException - If the command execution fails (and continueOnError is false) or if the underlying communication protocol fails.
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||