public class ScheduledStateRef implements Scheduled
Represents a contract state (unconsumed output) of type interface LinearState
and a point in time that a lifecycle event is
expected to take place for that contract state.
This is effectively the input to a scheduler, which wakes up at that point in time and asks the contract state what lifecycle processing needs to take place. e.g. a fixing or a late payment etc.
interface LinearState
Constructor and Description |
---|
ScheduledStateRef(StateRef ref,
java.time.Instant scheduledAt)
Represents a contract state (unconsumed output) of type
interface LinearState and a point in time that a lifecycle event is
expected to take place for that contract state. |
Modifier and Type | Method and Description |
---|---|
StateRef |
component1() |
java.time.Instant |
component2() |
ScheduledStateRef |
copy(StateRef ref,
java.time.Instant scheduledAt)
Represents a contract state (unconsumed output) of type
interface LinearState and a point in time that a lifecycle event is
expected to take place for that contract state. |
boolean |
equals(java.lang.Object p) |
StateRef |
getRef() |
java.time.Instant |
getScheduledAt() |
int |
hashCode() |
java.lang.String |
toString() |
getScheduledAt
public ScheduledStateRef(StateRef ref, java.time.Instant scheduledAt)
Represents a contract state (unconsumed output) of type interface LinearState
and a point in time that a lifecycle event is
expected to take place for that contract state.
This is effectively the input to a scheduler, which wakes up at that point in time and asks the contract state what lifecycle processing needs to take place. e.g. a fixing or a late payment etc.
interface LinearState
public StateRef getRef()
public java.time.Instant getScheduledAt()
public StateRef component1()
public java.time.Instant component2()
public ScheduledStateRef copy(StateRef ref, java.time.Instant scheduledAt)
Represents a contract state (unconsumed output) of type interface LinearState
and a point in time that a lifecycle event is
expected to take place for that contract state.
This is effectively the input to a scheduler, which wakes up at that point in time and asks the contract state what lifecycle processing needs to take place. e.g. a fixing or a late payment etc.
interface LinearState
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)