public static class StreamSummary.Options extends java.lang.Object implements IStreamSummary.IOptions
| Constructor and Description |
|---|
Options()
Default constructor; sets all fields to false.
|
Options(boolean ownerSubmit,
boolean locked,
boolean noToParent,
boolean noFromParent)
Explicit-value constructor.
|
Options(boolean ownerSubmit,
boolean locked,
boolean noToParent,
boolean noFromParent,
boolean mergeAny)
Explicit-value constructor.
|
Options(java.lang.String optionsString)
Attempts to construct a stream Options object from a typical p4 cmd
options string, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocked() |
boolean |
isMergeAny() |
boolean |
isNoFromParent() |
boolean |
isNoToParent() |
boolean |
isOwnerSubmit() |
void |
setLocked(boolean locked) |
void |
setMergeAny(boolean mergeAny) |
void |
setNoFromParent(boolean noFromParent) |
void |
setNoToParent(boolean noToParent) |
void |
setOwnerSubmit(boolean ownerSubmit) |
java.lang.String |
toString()
Return a Perforce-standard representation of these options.
|
public Options()
public Options(boolean ownerSubmit,
boolean locked,
boolean noToParent,
boolean noFromParent)
ownerSubmit - ownerSubmitlocked - lockednoToParent - noToParentnoFromParent - noFromParentpublic Options(boolean ownerSubmit,
boolean locked,
boolean noToParent,
boolean noFromParent,
boolean mergeAny)
ownerSubmit - ownerSubmitlocked - lockednoToParent - noToParentnoFromParent - noFromParentmergeAny - mergeAnypublic Options(java.lang.String optionsString)
optionsString - optionspublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isOwnerSubmit()
isOwnerSubmit in interface IStreamSummary.IOptionspublic void setOwnerSubmit(boolean ownerSubmit)
setOwnerSubmit in interface IStreamSummary.IOptionsownerSubmit - owner if truepublic boolean isLocked()
isLocked in interface IStreamSummary.IOptionspublic void setLocked(boolean locked)
setLocked in interface IStreamSummary.IOptionslocked - if truepublic boolean isNoToParent()
isNoToParent in interface IStreamSummary.IOptionspublic void setNoToParent(boolean noToParent)
setNoToParent in interface IStreamSummary.IOptionsnoToParent - if truepublic boolean isNoFromParent()
isNoFromParent in interface IStreamSummary.IOptionspublic void setNoFromParent(boolean noFromParent)
setNoFromParent in interface IStreamSummary.IOptionsnoFromParent - if truepublic boolean isMergeAny()
isMergeAny in interface IStreamSummary.IOptionspublic void setMergeAny(boolean mergeAny)
setMergeAny in interface IStreamSummary.IOptionsmergeAny - if true