Package org.drools.model.impl
Class AbstractWindow
- java.lang.Object
-
- org.drools.model.impl.AbstractWindow
-
- All Implemented Interfaces:
ModelComponent,WindowDefinition
- Direct Known Subclasses:
WindowImpl,WindowReferenceImpl
public abstract class AbstractWindow extends Object implements WindowDefinition, ModelComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.model.WindowDefinition
WindowDefinition.Type
-
-
Constructor Summary
Constructors Constructor Description AbstractWindow(WindowDefinition.Type type, long value)AbstractWindow(WindowDefinition.Type type, long value, TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowDefinition.TypegetType()longgetValue()booleanisEqualTo(ModelComponent o)
-
-
-
Constructor Detail
-
AbstractWindow
public AbstractWindow(WindowDefinition.Type type, long value)
-
AbstractWindow
public AbstractWindow(WindowDefinition.Type type, long value, TimeUnit timeUnit)
-
-
Method Detail
-
getValue
public long getValue()
- Specified by:
getValuein interfaceWindowDefinition
-
getType
public WindowDefinition.Type getType()
- Specified by:
getTypein interfaceWindowDefinition
-
isEqualTo
public boolean isEqualTo(ModelComponent o)
- Specified by:
isEqualToin interfaceModelComponent
-
-