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