public class NewFileCheckinSpecification extends Object implements Serializable
Constructor and Description |
---|
NewFileCheckinSpecification()
Default constructor.
|
NewFileCheckinSpecification(boolean enableVersioning)
Constructor specifying if new files created should be versioned.
|
NewFileCheckinSpecification(boolean enableVersioningForNewFiles,
VersionType versionType)
Constructor specifying if new files should be versioned, and what type of versioning should they use.
|
NewFileCheckinSpecification(boolean enableVersioning,
VersionType versionType,
String customVersionValue)
Constructor specifying if new files should be versioned, what type of versioning should they use, and the
customVersion to use if versioning type is CUSTOM.
|
NewFileCheckinSpecification(boolean enableVersioning,
VersionType versionType,
String customVersionValue,
String comment)
Constructor specifying if new files should be versioned, what type of versioning should they use, the
customVersion to use if versioning type is CUSTOM, and optionally, a comment.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get the comment associated with this specification
|
String |
getCustomVersionValue()
Get the customVersionValue of this specification.
|
VersionType |
getVersionType()
Get the versionType of this specification.
|
boolean |
isEnableVersioning()
Is the enableVersioning value set to true?
|
void |
setCustomVersionValue(String customVersionValue)
Set the customVersionValue of this specification.
|
void |
setEnableVersioning(boolean enableVersioning)
Set the enableVersioning value.
|
void |
setVersionType(VersionType versionType)
Set the versionType of this specification.
|
String |
toString()
Return a string representation of the object.
|
public NewFileCheckinSpecification()
public NewFileCheckinSpecification(boolean enableVersioning)
enableVersioning
- Boolean indicating if new files should be created as versioned or unversioned.public NewFileCheckinSpecification(boolean enableVersioningForNewFiles, VersionType versionType)
enableVersioningForNewFiles
- Boolean indicating if new files should be created as versioned or unversioned.versionType
- The type of versioning the new files should use.public NewFileCheckinSpecification(boolean enableVersioning, VersionType versionType, String customVersionValue)
public NewFileCheckinSpecification(boolean enableVersioning, VersionType versionType, String customVersionValue, String comment)
enableVersioning
- Boolean indicating if new files should be created as versioned or unversioned.versionType
- The type of versioning the new files should use.customVersionValue
- The custom version the new files should use.comment
- The comment or label for the new checkinpublic boolean isEnableVersioning()
public void setEnableVersioning(boolean enableVersioning)
enableVersioning
- the enableVersioning to setpublic VersionType getVersionType()
public void setVersionType(VersionType versionType)
versionType
- the versionType to setpublic String getCustomVersionValue()
public void setCustomVersionValue(String customVersionValue)
customVersionValue
- the customVersionValue to setpublic String getComment()
public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA