Class ReviewSubscription
java.lang.Object
com.perforce.p4java.impl.generic.core.MapEntry
com.perforce.p4java.impl.generic.core.ReviewSubscription
- All Implemented Interfaces:
IMapEntry,IReviewSubscription
Default ReviewSubscription implementation class.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IMapEntry
IMapEntry.EntryType -
Field Summary
Fields inherited from class com.perforce.p4java.impl.generic.core.MapEntry
comment, elementPattern, elementPatternStr, left, order, right, typeFields inherited from interface com.perforce.p4java.core.IMapEntry
ORDER_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor -- sets all local and superclass fields to null or zero.ReviewSubscription(int order, String subscription) Explicit value constructor -- calls super(order, subscription). -
Method Summary
Modifier and TypeMethodDescriptionGet the review subscription.voidsetSubscription(String subscription) Set the review subscription.Methods inherited from class com.perforce.p4java.impl.generic.core.MapEntry
getComment, getComment, getLeft, getLeft, getOrder, getRight, getRight, getType, parseComments, parseViewMappingString, quoteWhitespaceString, setComment, setLeft, setOrder, setRight, setType, stripComments, stripTypePrefix, toString, toString
-
Constructor Details
-
ReviewSubscription
public ReviewSubscription()Default constructor -- sets all local and superclass fields to null or zero. -
ReviewSubscription
Explicit value constructor -- calls super(order, subscription). Note that this probably won't do what you expect it to if there's more than one element in the subscription.- Parameters:
order- ordersubscription- subscription
-
-
Method Details
-
getSubscription
Description copied from interface:IReviewSubscriptionGet the review subscription.- Specified by:
getSubscriptionin interfaceIReviewSubscription- Returns:
- subscription
- See Also:
-
setSubscription
Description copied from interface:IReviewSubscriptionSet the review subscription.- Specified by:
setSubscriptionin interfaceIReviewSubscription- Parameters:
subscription- subscription- See Also:
-