Package sonia.scm.repository.spi
Class ModifyCommandRequest
java.lang.Object
sonia.scm.repository.spi.ModifyCommandRequest
- All Implemented Interfaces:
Resetable,AuthorUtil.CommandWithAuthor,Validateable
public class ModifyCommandRequest
extends Object
implements Resetable, Validateable, AuthorUtil.CommandWithAuthor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanisEmpty()booleanisSign()booleanisValid()Returns true if the object is valid.voidreset()voidvoidvoidsetCommitMessage(String commitMessage) voidsetDefaultPath(boolean defaultPath) voidsetExpectedRevision(String expectedRevision) voidsetSign(boolean sign)
-
Constructor Details
-
ModifyCommandRequest
public ModifyCommandRequest()
-
-
Method Details
-
reset
public void reset() -
addRequest
-
isEmpty
public boolean isEmpty() -
setAuthor
- Specified by:
setAuthorin interfaceAuthorUtil.CommandWithAuthor
-
setCommitMessage
-
setBranch
-
setSign
public void setSign(boolean sign) -
getRequests
-
getAuthor
- Specified by:
getAuthorin interfaceAuthorUtil.CommandWithAuthor
-
getCommitMessage
-
getBranch
-
getExpectedRevision
-
isDefaultPath
public boolean isDefaultPath() -
isValid
public boolean isValid()Description copied from interface:ValidateableReturns true if the object is valid.- Specified by:
isValidin interfaceValidateable
-
setExpectedRevision
-
setDefaultPath
public void setDefaultPath(boolean defaultPath) -
isSign
public boolean isSign()
-