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