public class RepositoryExecutableFile extends RepositoryFile
RepositoryFile.SigningStatus
RepositoryItem.State, RepositoryItem.Syncable
Constructor and Description |
---|
RepositoryExecutableFile(String typeId,
String id,
String name,
String path,
long revision,
RepositoryItem.State state,
String createdBy,
Date created,
String lastModifiedBy,
Date lastModified,
String propertiesLastModifiedBy,
Date propertiesLastModified,
String description,
RepositoryItem.Syncable syncable,
List<Attribute> attributes,
long size,
boolean checkedOut,
String checkedOutBy,
Date checkedOutDate,
boolean versioned,
String version,
String comment,
boolean locked,
RepositoryFile.SigningStatus signingStatus,
boolean runAsOwner,
VersionLimits versionLimits,
String digest)
It is not intended or recommended that the consumer of the API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isRunAsOwner()
Gets whether the executable file runs as the owner of the file or the user who submitted the file for
execution.
|
void |
setRunAsOwner(boolean runAsOwner)
Sets the executable file to run as the owner of the file or the user who submitted the file for
execution.
|
String |
toString() |
getCheckedOutBy, getCheckedOutDate, getComment, getDigest, getMajorLimit, getMinorLimit, getSigningStatus, getSize, getVersion, getVersionLimits, isCheckedOut, isLocked, isVersioned, setVersionLimits
getAttributes, getCreated, getCreatedBy, getDescription, getLastModified, getLastModifiedBy, getName, getPath, getPropertiesLastModified, getPropertiesLastModifiedBy, getRevision, getState, getSyncable, setAttributes, setDescription, setSyncable
getId, getTypeId
public RepositoryExecutableFile(String typeId, String id, String name, String path, long revision, RepositoryItem.State state, String createdBy, Date created, String lastModifiedBy, Date lastModified, String propertiesLastModifiedBy, Date propertiesLastModified, String description, RepositoryItem.Syncable syncable, List<Attribute> attributes, long size, boolean checkedOut, String checkedOutBy, Date checkedOutDate, boolean versioned, String version, String comment, boolean locked, RepositoryFile.SigningStatus signingStatus, boolean runAsOwner, VersionLimits versionLimits, String digest)
typeId
- The object type identifier of the repository file.id
- The unique identifier of the repository file.name
- The name of the file.path
- The full path of this file in the repository, which includes the name.revision
- The internally managed revision number of the repository file.state
- The current state of the repository file.createdBy
- The user who created the repository file.created
- The date on which the repository file was created.lastModifiedBy
- The user who last modified the repository file's content.lastModified
- The date on which the repository file's content was last modified.propertiesLastModifiedBy
- The user who last modified the repository file's properties.propertiesLastModified
- The date on which the repository file's properties were last modified.description
- The description of the file.syncable
- Indicates whether the file can be copied to the user's workspace.attributes
- The extended attributes that are defined on the repository file.size
- The size (in bytes) of the file.checkedOut
- Indicates whether the file is currently checked out or not.checkedOutBy
- The user who has the file checked out (if it is checked out).checkedOutDate
- The date on which the file was checked out (if it is checked out).versioned
- Indicates whether the file is versioned.version
- The current version of the file (if it is versioned).comment
- The comment provided when the content was created.locked
- Indicates whether the file is locked.signingStatus
- The signature status of the file.runAsOwner
- Indicates whether the executable file is run as the owner of the file or the user who submitted the
file for execution.versionLimits
- The version retention limits of the file.digest
- The digest value of the file.public boolean isRunAsOwner()
public void setRunAsOwner(boolean runAsOwner)
runAsOwner
- Whether executable file is to run as the owner of the file or the user who submitted the
file for execution.public int hashCode()
hashCode
in class RepositoryFile
public boolean equals(Object obj)
equals
in class RepositoryFile
public String toString()
toString
in class RepositoryFile
<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>