|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.semantics.base.BaseDurationFactory
public class BaseDurationFactory
An implementation of the DurationFactory
interface.
Constructor Summary | |
---|---|
BaseDurationFactory()
|
Method Summary | |
---|---|
Duration |
newDuration(Rule rule,
RuleBaseContext context,
Configuration config)
Returns a new Duration object configured
using the given Configuration . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseDurationFactory()
Method Detail |
---|
public Duration newDuration(Rule rule, RuleBaseContext context, Configuration config)
Duration
object configured
using the given Configuration
.
newDuration
in interface DurationFactory
config
- a Configuration
object containing "days",
"hours", "minutes", and/or "seconds" attributes. All attributes
are optional and the given Configuration
object
may be null
.
Duration
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |