Class ContextExportZipUtils


  • public final class ContextExportZipUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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)  
      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.
      static java.lang.String getExportZipFileName​(java.lang.String contextName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • UNSAFE_FILENAME_CHAR

        public static final java.lang.String[] UNSAFE_FILENAME_CHAR
      • REPLACE_UNSAFE_FILENAME_CHAR

        public static final java.lang.String[] REPLACE_UNSAFE_FILENAME_CHAR
    • Constructor Detail

      • ContextExportZipUtils

        public ContextExportZipUtils()
    • 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: