Package org.drools.model.impl
Class WindowReferenceImpl<T>
- java.lang.Object
-
- org.drools.model.impl.AbstractWindow
-
- org.drools.model.impl.WindowReferenceImpl<T>
-
- All Implemented Interfaces:
DeclarationSource,ModelComponent,WindowDefinition,WindowReference<T>
public class WindowReferenceImpl<T> extends AbstractWindow implements WindowReference<T>, ModelComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.model.WindowDefinition
WindowDefinition.Type
-
-
Constructor Summary
Constructors Constructor Description WindowReferenceImpl(WindowDefinition.Type type, long value, Class<T> patternType, EntryPoint entryPoint, Predicate1<T>... predicates)WindowReferenceImpl(WindowDefinition.Type type, long value, Class<T> patternType, Predicate1<T>... predicates)WindowReferenceImpl(WindowDefinition.Type type, long value, TimeUnit timeUnit, Class<T> patternType, EntryPoint entryPoint, Predicate1<T>... predicates)WindowReferenceImpl(WindowDefinition.Type type, long value, TimeUnit timeUnit, Class<T> patternType, Predicate1<T>... predicates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryPointgetEntryPoint()StringgetName()Class<T>getPatternType()Predicate1<T>[]getPredicates()booleanisEqualTo(ModelComponent o)-
Methods inherited from class org.drools.model.impl.AbstractWindow
getType, getValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.model.WindowDefinition
getType, getValue
-
-
-
-
Constructor Detail
-
WindowReferenceImpl
public WindowReferenceImpl(WindowDefinition.Type type, long value, Class<T> patternType, Predicate1<T>... predicates)
-
WindowReferenceImpl
public WindowReferenceImpl(WindowDefinition.Type type, long value, Class<T> patternType, EntryPoint entryPoint, Predicate1<T>... predicates)
-
WindowReferenceImpl
public WindowReferenceImpl(WindowDefinition.Type type, long value, TimeUnit timeUnit, Class<T> patternType, Predicate1<T>... predicates)
-
WindowReferenceImpl
public WindowReferenceImpl(WindowDefinition.Type type, long value, TimeUnit timeUnit, Class<T> patternType, EntryPoint entryPoint, Predicate1<T>... predicates)
-
-
Method Detail
-
getPatternType
public Class<T> getPatternType()
- Specified by:
getPatternTypein interfaceWindowReference<T>
-
getPredicates
public Predicate1<T>[] getPredicates()
- Specified by:
getPredicatesin interfaceWindowReference<T>
-
getName
public String getName()
- Specified by:
getNamein interfaceWindowReference<T>
-
getEntryPoint
public EntryPoint getEntryPoint()
- Specified by:
getEntryPointin interfaceWindowReference<T>
-
isEqualTo
public boolean isEqualTo(ModelComponent o)
- Specified by:
isEqualToin interfaceModelComponent- Overrides:
isEqualToin classAbstractWindow
-
-