public static class ExecutionComponentFeature.StepInfo extends java.lang.Object implements java.lang.Comparable<ExecutionComponentFeature.StepInfo>
Modifier and Type | Field and Description |
---|---|
protected jadex.commons.future.Future<?> |
future
The result future.
|
protected int |
priority
The priority.
|
protected IComponentStep<?> |
step
The component step.
|
protected int |
stepcnt
The number of the step (preserve insert order of same prio).
|
protected jadex.commons.future.ThreadLocalTransferHelper |
transfer
The service call.
|
Constructor and Description |
---|
StepInfo(IComponentStep<?> step,
jadex.commons.future.Future<?> future,
jadex.commons.future.ThreadLocalTransferHelper transfer,
int priority,
int stepcnt)
Create a new StepInfo.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ExecutionComponentFeature.StepInfo o)
Compare two steps.
|
jadex.commons.future.Future<?> |
getFuture()
Get the future.
|
int |
getPriority()
Get the priority.
|
IComponentStep<?> |
getStep()
Get the step.
|
int |
getStepCount()
Get the stepcnt.
|
jadex.commons.future.ThreadLocalTransferHelper |
getTransfer()
Get the transfer.
|
void |
setFuture(jadex.commons.future.Future<?> future)
Set the future.
|
void |
setPriority(int priority)
The priority to set.
|
void |
setStep(IComponentStep<?> step)
Set the step.
|
void |
setStepCount(int stepcnt)
The stepcnt to set.
|
void |
setTransfer(jadex.commons.future.ThreadLocalTransferHelper transfer)
The transfer to set.
|
java.lang.String |
toString()
Get the string representation.
|
protected IComponentStep<?> step
protected jadex.commons.future.Future<?> future
protected jadex.commons.future.ThreadLocalTransferHelper transfer
protected int priority
protected int stepcnt
public StepInfo(IComponentStep<?> step, jadex.commons.future.Future<?> future, jadex.commons.future.ThreadLocalTransferHelper transfer, int priority, int stepcnt)
public IComponentStep<?> getStep()
public void setStep(IComponentStep<?> step)
step
- The step to set.public jadex.commons.future.Future<?> getFuture()
public void setFuture(jadex.commons.future.Future<?> future)
future
- The future to set.public jadex.commons.future.ThreadLocalTransferHelper getTransfer()
public void setTransfer(jadex.commons.future.ThreadLocalTransferHelper transfer)
transfer
- The transfer to setpublic int getPriority()
public void setPriority(int priority)
priority
- The priority to setpublic int getStepCount()
public void setStepCount(int stepcnt)
stepcnt
- The stepcnt to setpublic int compareTo(ExecutionComponentFeature.StepInfo o)
compareTo
in interface java.lang.Comparable<ExecutionComponentFeature.StepInfo>
public java.lang.String toString()
toString
in class java.lang.Object