verinec.adaptation
Class DistNone

java.lang.Object
  extended by verinec.adaptation.DistNone
All Implemented Interfaces:
IDistributor

public class DistNone
extends Object
implements IDistributor

Distribute nothing, for distributor producing no output.

Author:
david.buchmann at unifr.ch

Constructor Summary
DistNone()
           
 
Method Summary
 void distribute(Element config)
          Do nothing with the element
 String execute(Element command)
          Execute should never happen on an empty service
 void setTarget(Element target)
          Set the target which is empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistNone

public DistNone()
Method Detail

setTarget

public void setTarget(Element target)
Set the target which is empty.

Specified by:
setTarget in interface IDistributor
Parameters:
target - a cp target according to the schema.

distribute

public void distribute(Element config)
Do nothing with the element

Specified by:
distribute in interface IDistributor
Parameters:
config - A result according to the schema.

execute

public String execute(Element command)
Execute should never happen on an empty service

Specified by:
execute in interface IDistributor
Parameters:
command - A command
Returns:
Null

Copyright © 2005 Verinec, DIUF