public abstract class DonLiteral<K,T extends Metadatable> extends AbstractWMTask<T> implements Don<K,T>
MetaCallableTask.KIND
Modifier and Type | Field and Description |
---|---|
protected K |
core |
protected AbstractTraitFactory |
factory |
protected ModifyLiteral |
setter |
protected With[] |
with |
Constructor and Description |
---|
DonLiteral(K target,
With... with) |
Modifier and Type | Method and Description |
---|---|
T |
call() |
protected URI |
createURI() |
static URI |
createURI(String coreId,
Class type) |
K |
getCore() |
Object |
getId() |
Modify |
getInitArgs() |
protected abstract MetaClass<T> |
getMetaClassInfo() |
ModifyLiteral<T> |
getSetters() |
Object |
getTarget() |
Object |
getTargetId() |
URI |
getUri() |
MetaCallableTask.KIND |
kind() |
Don<K,T> |
setTraitFactory(AbstractTraitFactory factory) |
equals, hashCode
protected K core
protected AbstractTraitFactory factory
protected ModifyLiteral setter
protected With[] with
public MetaCallableTask.KIND kind()
kind
in interface MetaCallableTask<T extends Metadatable>
public Object getTargetId()
getTargetId
in interface WorkingMemoryTask<T extends Metadatable>
public T call()
call
in interface MetaCallableTask<T extends Metadatable>
public Modify getInitArgs()
getInitArgs
in interface Don<K,T extends Metadatable>
public URI getUri()
getUri
in interface Identifiable
public Object getId()
getId
in interface Identifiable
protected URI createURI()
public Don<K,T> setTraitFactory(AbstractTraitFactory factory)
setTraitFactory
in interface Don<K,T extends Metadatable>
public ModifyLiteral<T> getSetters()
getSetters
in interface WorkingMemoryTask<T extends Metadatable>
public Object getTarget()
getTarget
in interface WorkingMemoryTask<T extends Metadatable>
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.