Package org.stellar.sdk
Class Predicate
java.lang.Object
org.stellar.sdk.Predicate
- Direct Known Subclasses:
Predicate.AbsBefore
,Predicate.And
,Predicate.Not
,Predicate.Or
,Predicate.RelBefore
,Predicate.Unconditional
Base class for predicates.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a predicate based on a maximum absolute timestamp.static class
Represents a logical AND of two predicates.static class
Represents a logical NOT of a predicate.static class
Represents a logical OR of two predicates.static class
Represents a predicate based on a relative time offset from the close time of the ledger in which theCreateClaimableBalanceOperation
is included.static class
Represents a predicate that is always true. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
static Predicate
fromXdr
(ClaimPredicate xdr) Generates Predicate object from a given XDR object.abstract ClaimPredicate
toXdr()
Generates XDR object from a given Predicate object.