public class OutputFileSpec extends Object implements Serializable
Constructor and Description |
---|
OutputFileSpec()
Default Constructor.
|
OutputFileSpec(boolean enableVersioningForNewFiles)
Constructor.
|
OutputFileSpec(boolean enableVersioningForNewFiles,
VersionType versionType)
Constructor.
|
OutputFileSpec(boolean enableVersioningForNewFiles,
VersionType versionType,
String customVersion)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCustomVersion()
Get the version to use if version type is
CUSTOM . |
VersionType |
getVersionType()
Gets how the next version should be generated.
|
int |
hashCode() |
boolean |
isEnableVersioningForNewFiles()
Get whether new files should be versioned when created.
|
void |
setCustomVersion(String customVersion)
Set the version to use if version type is
CUSTOM . |
void |
setEnableVersioningForNewFiles(boolean enableVersioningForNewFiles)
Set whether new files should be versioned when created.
|
void |
setVersionType(VersionType versionType)
Sets how the next version should be generated.
|
String |
toString() |
public OutputFileSpec()
public OutputFileSpec(boolean enableVersioningForNewFiles)
enableVersioningForNewFiles
- Whether to version new files.public OutputFileSpec(boolean enableVersioningForNewFiles, VersionType versionType)
enableVersioningForNewFiles
- Whether to version new files.versionType
- Specifies how the next version should be generated.public OutputFileSpec(boolean enableVersioningForNewFiles, VersionType versionType, String customVersion)
enableVersioningForNewFiles
- Whether to version new files.versionType
- Specifies how the next version should be generated.customVersion
- The version to use if version type is CUSTOM
.public boolean isEnableVersioningForNewFiles()
public void setEnableVersioningForNewFiles(boolean enableVersioningForNewFiles)
enableVersioningForNewFiles
- whether new files should be versioned when created.public VersionType getVersionType()
public void setVersionType(VersionType versionType)
versionType
- how the next version should be generated.public String getCustomVersion()
CUSTOM
.CUSTOM
.public void setCustomVersion(String customVersion)
CUSTOM
.customVersion
- the version to use if version type is CUSTOM
.Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA