Class ChainableImpl
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.core.chain.ChainableImpl
-
- All Implemented Interfaces:
Chainable
- Direct Known Subclasses:
InterceptorSupport
public abstract class ChainableImpl extends Object implements Chainable
Base for an element of a chain.- Author:
- Dmytro Rud
-
-
Constructor Summary
Constructors Constructor Description ChainableImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAfter(String... ids)
Configures this chain element to be deployed after the given ones.void
addBefore(String... ids)
Configures this chain element to be deployed before the given ones.Set<String>
getAfter()
Set<String>
getBefore()
String
getId()
void
setId(String id)
Sets the ID of this chain element.
-
-
-
Method Detail
-
setId
public void setId(String id)
Sets the ID of this chain element.- Parameters:
id
- ID of this chain element.
-
getId
public String getId()
-
addBefore
public void addBefore(String... ids)
Configures this chain element to be deployed before the given ones.- Parameters:
ids
- IDs of chain elements this chain element should be deployed before.
-
addAfter
public void addAfter(String... ids)
Configures this chain element to be deployed after the given ones.- Parameters:
ids
- IDs of chain elements this chain element should be deployed after.
-
-