public abstract class NewInstanceLiteral<T extends Metadatable> extends AbstractWMTask<T> implements NewInstance<T>
MetaCallableTask.KIND
Modifier and Type | Field and Description |
---|---|
protected InstantiatorFactory |
instantiatorFactory |
protected T |
result |
protected ModifyLiteral |
setter |
protected URI |
uri |
protected With[] |
with |
Constructor and Description |
---|
NewInstanceLiteral(Object identifier,
With... args) |
NewInstanceLiteral(With... args) |
Modifier and Type | Method and Description |
---|---|
T |
call() |
Object |
callUntyped() |
protected abstract Object |
construct() |
protected void |
constructId(Class<?> klass) |
Object |
getId() |
Modify |
getInitArgs() |
InstantiatorFactory |
getInstantiatorFactory() |
ModifyLiteral<T> |
getSetters() |
T |
getTarget() |
Object |
getTargetId() |
URI |
getUri() |
int |
hashCode() |
boolean |
isInterface() |
MetaCallableTask.KIND |
kind() |
NewInstance<T> |
setInstantiatorFactory(InstantiatorFactory instantiatorFactory) |
equals
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getInstanceClass
protected URI uri
protected T extends Metadatable result
protected ModifyLiteral setter
protected InstantiatorFactory instantiatorFactory
protected With[] with
public NewInstanceLiteral(With... args)
public boolean isInterface()
isInterface
in interface NewInstance<T extends Metadatable>
public MetaCallableTask.KIND kind()
kind
in interface MetaCallableTask<T extends Metadatable>
public Object getTargetId()
getTargetId
in interface WorkingMemoryTask<T extends Metadatable>
public Object callUntyped()
callUntyped
in interface NewInstance<T extends Metadatable>
public Modify getInitArgs()
getInitArgs
in interface NewInstance<T extends Metadatable>
public T call()
call
in interface MetaCallableTask<T extends Metadatable>
protected abstract Object construct()
protected void constructId(Class<?> klass)
public InstantiatorFactory getInstantiatorFactory()
getInstantiatorFactory
in interface NewInstance<T extends Metadatable>
public NewInstance<T> setInstantiatorFactory(InstantiatorFactory instantiatorFactory)
setInstantiatorFactory
in interface NewInstance<T extends Metadatable>
public URI getUri()
getUri
in interface Identifiable
public Object getId()
getId
in interface Identifiable
public ModifyLiteral<T> getSetters()
getSetters
in interface WorkingMemoryTask<T extends Metadatable>
public T getTarget()
getTarget
in interface WorkingMemoryTask<T extends Metadatable>
public int hashCode()
hashCode
in class AbstractWMTask<T extends Metadatable>
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.