Class WorkspaceQueue
java.lang.Object
fr.gouv.vitam.processing.common.model.WorkspaceQueue
Workspace Queue class
-
Constructor Summary
ConstructorDescriptionDefault ConstructorWorkspaceQueue
(String workspacePath, InputStream sourceFile) ConstructorWorkspaceQueue
(String workspacePath, InputStream sourceFile, WorkspaceAction action) Constructor -
Method Summary
Modifier and TypeMethodDescriptionsetFilePath
(Path filePath) setFolderName
(String folderName) setMediaType
(String mediaType)
-
Constructor Details
-
WorkspaceQueue
public WorkspaceQueue()Default Constructor -
WorkspaceQueue
Constructor- Parameters:
workspacePath
-sourceFile
-
-
WorkspaceQueue
Constructor- Parameters:
workspacePath
-sourceFile
-action
-
-
-
Method Details
-
getWorkspacePath
- Returns:
- workspace path
-
getSourceFile
- Returns:
- source file
-
getAction
- Returns:
- action
-
getFilePath
- Returns:
- file path
-
setFilePath
- Parameters:
filePath
-- Returns:
- workspace queue
-
getMediaType
- Returns:
- media type
-
setMediaType
- Parameters:
mediaType
-- Returns:
- the modified WorkspaceQueue
-
getFolderName
- Returns:
- folder name
-
setFolderName
- Parameters:
folderName
-- Returns:
- the modified WorkspaceQueue
-