Class ContextExportZipUtils
- java.lang.Object
-
- org.ikasan.orchestration.service.context.util.ContextExportZipUtils
-
public final class ContextExportZipUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]REPLACE_UNSAFE_FILENAME_CHARstatic java.lang.String[]UNSAFE_FILENAME_CHAR
-
Constructor Summary
Constructors Constructor Description ContextExportZipUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.ByteArrayOutputStreamcreateZipFile(org.ikasan.spec.scheduled.context.model.ContextTemplate context, java.lang.String unmodifiedContextName, java.lang.String downloadName, java.lang.String workingDirectory, org.ikasan.spec.scheduled.job.service.SchedulerJobService schedulerJobService, org.ikasan.spec.scheduled.notification.service.EmailNotificationDetailsService emailNotificationDetailsService, org.ikasan.spec.scheduled.notification.service.EmailNotificationContextService emailNotificationContextService, org.ikasan.spec.scheduled.profile.service.ContextProfileService contextProfileService, int searchLimit, boolean addReplacementTokens)static java.io.ByteArrayOutputStreamcreateZipFile(org.ikasan.spec.scheduled.context.model.ContextTemplate context, java.lang.String workingDirectory, java.util.List<org.ikasan.spec.scheduled.job.model.SchedulerJob> schedulerJobList, boolean addReplacementTokens)Creates a simple zip file from a job list with no notifications or profiles.static java.lang.StringgetExportZipFileName(java.lang.String contextName)
-
-
-
Method Detail
-
getExportZipFileName
public static java.lang.String getExportZipFileName(java.lang.String contextName)
-
createZipFile
public static java.io.ByteArrayOutputStream createZipFile(org.ikasan.spec.scheduled.context.model.ContextTemplate context, java.lang.String unmodifiedContextName, java.lang.String downloadName, java.lang.String workingDirectory, org.ikasan.spec.scheduled.job.service.SchedulerJobService schedulerJobService, org.ikasan.spec.scheduled.notification.service.EmailNotificationDetailsService emailNotificationDetailsService, org.ikasan.spec.scheduled.notification.service.EmailNotificationContextService emailNotificationContextService, org.ikasan.spec.scheduled.profile.service.ContextProfileService contextProfileService, int searchLimit, boolean addReplacementTokens)
-
createZipFile
public static java.io.ByteArrayOutputStream createZipFile(org.ikasan.spec.scheduled.context.model.ContextTemplate context, java.lang.String workingDirectory, java.util.List<org.ikasan.spec.scheduled.job.model.SchedulerJob> schedulerJobList, boolean addReplacementTokens)Creates a simple zip file from a job list with no notifications or profiles.- Parameters:
context-workingDirectory-schedulerJobList-addReplacementTokens-- Returns:
-
-