Package net.sf.basedb.opengrid
Class JobDefinition.UploadSourceWithPermission
java.lang.Object
net.sf.basedb.opengrid.JobDefinition.UploadSourceWithPermission
- Enclosing class:
JobDefinition
Class for storing a file and a permission as one
entity. If no permission is specified, the default
is to use
FilePermission.USER_RW
. If the
uploaded file name ends with '.sh' the default is
FilePermission.USER_RWX
.-
Field Summary
Modifier and TypeFieldDescriptionFile endings that should automatially be executable when uploaded.private final FilePermission
private final UploadSource
-
Constructor Summary
-
Method Summary
-
Field Details
-
EXECUTABLE_FILES
File endings that should automatially be executable when uploaded. -
upload
-
permission
-
-
Constructor Details
-
UploadSourceWithPermission
UploadSourceWithPermission(UploadSource upload, FilePermission permission)
-
-
Method Details
-
isExecutable
-
getUploadSource
-
getFilePermission
-