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.Object
public boolean isOwnerSubmit()
isOwnerSubmit
in interface IStreamSummary.IOptions
public void setOwnerSubmit(boolean ownerSubmit)
setOwnerSubmit
in interface IStreamSummary.IOptions
ownerSubmit
- owner if truepublic boolean isLocked()
isLocked
in interface IStreamSummary.IOptions
public void setLocked(boolean locked)
setLocked
in interface IStreamSummary.IOptions
locked
- if truepublic boolean isNoToParent()
isNoToParent
in interface IStreamSummary.IOptions
public void setNoToParent(boolean noToParent)
setNoToParent
in interface IStreamSummary.IOptions
noToParent
- if truepublic boolean isNoFromParent()
isNoFromParent
in interface IStreamSummary.IOptions
public void setNoFromParent(boolean noFromParent)
setNoFromParent
in interface IStreamSummary.IOptions
noFromParent
- if truepublic boolean isMergeAny()
isMergeAny
in interface IStreamSummary.IOptions
public void setMergeAny(boolean mergeAny)
setMergeAny
in interface IStreamSummary.IOptions
mergeAny
- if true