com.xebialabs.deployit.plugin.cloud.step.plan
Class SingleStepFilter
java.lang.Object
com.xebialabs.deployit.plugin.cloud.step.plan.SingleStepFilter
- All Implemented Interfaces:
- com.google.common.base.Predicate<com.xebialabs.deployit.plugin.api.flow.Step>
public class SingleStepFilter
- extends java.lang.Object
- implements com.google.common.base.Predicate<com.xebialabs.deployit.plugin.api.flow.Step>
The aim of this filter is to filter away those steps which are annotated with Unique, and who's type is already present at presentSteps for particular type.
|
Constructor Summary |
SingleStepFilter(java.util.Map<com.xebialabs.deployit.plugin.api.reflect.Type,java.util.Collection<? extends com.xebialabs.deployit.plugin.api.flow.Step>> presentSteps,
com.xebialabs.deployit.plugin.api.reflect.Type type)
|
|
Method Summary |
boolean |
apply(com.xebialabs.deployit.plugin.api.flow.Step s)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Predicate |
equals |
SingleStepFilter
public SingleStepFilter(java.util.Map<com.xebialabs.deployit.plugin.api.reflect.Type,java.util.Collection<? extends com.xebialabs.deployit.plugin.api.flow.Step>> presentSteps,
com.xebialabs.deployit.plugin.api.reflect.Type type)
apply
public boolean apply(com.xebialabs.deployit.plugin.api.flow.Step s)
- Specified by:
apply in interface com.google.common.base.Predicate<com.xebialabs.deployit.plugin.api.flow.Step>