Class ExportObjectSchemaDataBean
java.lang.Object
com.riadalabs.jira.plugins.insight.services.progress.result.ProgressResultBase
com.riadalabs.jira.plugins.insight.services.imports.model.schema.ExportObjectSchemaDataBean
- All Implemented Interfaces:
com.riadalabs.jira.plugins.insight.services.progress.result.ProgressResult
,Serializable
public class ExportObjectSchemaDataBean
extends com.riadalabs.jira.plugins.insight.services.progress.result.ProgressResultBase
An Export Object Schema "data container" class that should be available throughout the object schema export flow in
order to make decisions like: Include resource X or Y.
- Author:
- Fredrik Karbing
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExportObjectSchemaDataBean
(com.riadalabs.jira.plugins.insight.channel.web.api.rest.model.imports.schema.ExportObjectSchemaInEntry entry) Constructor to use for REST initiated invocation of "Export Object Schema" Service.ExportObjectSchemaDataBean
(String fileName, Integer objectSchemaId, String objectSchemaName, boolean includeObjects) Constructor to use for "Non REST" initiated invocation of "Export Object Schema" Service. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
boolean
boolean
void
setFileName
(String fileName) If user provided file name for export is taken, a non conflicting file name is calculated and we then need to use that file name throughout the export flow.void
void
setPassword
(String password) void
setProgressId
(ProgressId progressId) void
setTotalObjectsInExport
(Integer totalObjectsInExport) Methods inherited from class com.riadalabs.jira.plugins.insight.services.progress.result.ProgressResultBase
combine, complete, getEnded, getExecutedAsUserKey, getExecutedType, getInfoMessage, getNumberOfWorkers, getObjectSchemaId, getResult, getStarted, getStatus, getType, getTypeIdentifier, isInProgress, isOK, log, setEnded, setExecutedAsUserKey, setExecutedType, setId, setInfoMessage, setNumberOfWorkers, setObjectSchemaId, setResult, setStarted, setStatus, setType, setTypeIdentifier
-
Constructor Details
-
ExportObjectSchemaDataBean
public ExportObjectSchemaDataBean(String fileName, Integer objectSchemaId, String objectSchemaName, boolean includeObjects) Constructor to use for "Non REST" initiated invocation of "Export Object Schema" Service. The arguments represent all the fields that are mandatory. -
ExportObjectSchemaDataBean
public ExportObjectSchemaDataBean(com.riadalabs.jira.plugins.insight.channel.web.api.rest.model.imports.schema.ExportObjectSchemaInEntry entry) Constructor to use for REST initiated invocation of "Export Object Schema" Service.- Parameters:
entry
- The Data transfer object used by REST Method.
-
-
Method Details
-
getFileName
-
setFileName
If user provided file name for export is taken, a non conflicting file name is calculated and we then need to use that file name throughout the export flow. -
getName
-
setName
-
getId
- Specified by:
getId
in interfacecom.riadalabs.jira.plugins.insight.services.progress.result.ProgressResult
- Overrides:
getId
in classcom.riadalabs.jira.plugins.insight.services.progress.result.ProgressResultBase
-
getPassword
-
setPassword
-
isIncludeObjects
public boolean isIncludeObjects() -
isIncludeArchived
public boolean isIncludeArchived() -
getTotalObjectsInExport
-
setTotalObjectsInExport
-
setProgressId
-
getProgressId
-