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 class
static class
static class
static class
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
isEmpty()
boolean
isSign()
boolean
isValid()
Returns true if the object is valid.void
reset()
void
void
void
setCommitMessage
(String commitMessage) void
setDefaultPath
(boolean defaultPath) void
setExpectedRevision
(String expectedRevision) void
setSign
(boolean sign)
-
Constructor Details
-
ModifyCommandRequest
public ModifyCommandRequest()
-
-
Method Details
-
reset
public void reset() -
addRequest
-
isEmpty
public boolean isEmpty() -
setAuthor
- Specified by:
setAuthor
in interfaceAuthorUtil.CommandWithAuthor
-
setCommitMessage
-
setBranch
-
setSign
public void setSign(boolean sign) -
getRequests
-
getAuthor
- Specified by:
getAuthor
in interfaceAuthorUtil.CommandWithAuthor
-
getCommitMessage
-
getBranch
-
getExpectedRevision
-
isDefaultPath
public boolean isDefaultPath() -
isValid
public boolean isValid()Description copied from interface:Validateable
Returns true if the object is valid.- Specified by:
isValid
in interfaceValidateable
-
setExpectedRevision
-
setDefaultPath
public void setDefaultPath(boolean defaultPath) -
isSign
public boolean isSign()
-