Class SampleTemplatesInitialization

  • All Implemented Interfaces:
    com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization, com.xebialabs.xlrelease.template.SamplesImporter, grizzled.slf4j.Logging

    @Component
    public class SampleTemplatesInitialization
    extends java.lang.Object
    implements com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization, com.xebialabs.xlrelease.template.SamplesImporter
    • Constructor Summary

      Constructors 
      Constructor Description
      SampleTemplatesInitialization​(com.xebialabs.xlrelease.export.TemplateImporter templateImporter, com.xebialabs.xlrelease.config.XlrConfig xlrConfig, com.xebialabs.deployit.repository.WorkDirContext workDirContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doInitialize()  
      java.lang.String getComponent()  
      com.xebialabs.xlrelease.export.TemplateImporter templateImporter()  
      java.lang.String toString()  
      com.xebialabs.deployit.repository.WorkDirContext workDirContext()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface grizzled.slf4j.Logging

        debug, debug, debug, error, error, error, grizzled$slf4j$Logging$$_logger, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, logger, loggerName, trace, trace, trace, warn, warn, warn
      • Methods inherited from interface com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization

        getPriority
      • Methods inherited from interface com.xebialabs.xlrelease.template.SamplesImporter

        importSampleTemplates
    • Field Detail

      • TEMPLATE_WELCOME_ID

        public static final java.lang.String TEMPLATE_WELCOME_ID
        See Also:
        Constant Field Values
      • TEMPLATE_CONFIGURE_ID

        public static final java.lang.String TEMPLATE_CONFIGURE_ID
        See Also:
        Constant Field Values
      • TEMPLATE_TOUR_ID

        public static final java.lang.String TEMPLATE_TOUR_ID
        See Also:
        Constant Field Values
      • TEMPLATE_SAMPLE_ID

        public static final java.lang.String TEMPLATE_SAMPLE_ID
        See Also:
        Constant Field Values
      • TEMPLATE_SAMPLE_WITH_XLD_ID

        public static final java.lang.String TEMPLATE_SAMPLE_WITH_XLD_ID
        See Also:
        Constant Field Values
      • TEMPLATE_BLUE_GREEN_ID

        public static final java.lang.String TEMPLATE_BLUE_GREEN_ID
        See Also:
        Constant Field Values
      • TEMPLATE_CANARY_ID

        public static final java.lang.String TEMPLATE_CANARY_ID
        See Also:
        Constant Field Values
      • FOLDER_TEMPLATE_WELCOME_ID

        public static final java.lang.String FOLDER_TEMPLATE_WELCOME_ID
        See Also:
        Constant Field Values
      • FOLDER_TEMPLATE_CONFIGURE_ID

        public static final java.lang.String FOLDER_TEMPLATE_CONFIGURE_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • SampleTemplatesInitialization

        @Autowired
        public SampleTemplatesInitialization​(com.xebialabs.xlrelease.export.TemplateImporter templateImporter,
                                             com.xebialabs.xlrelease.config.XlrConfig xlrConfig,
                                             com.xebialabs.deployit.repository.WorkDirContext workDirContext)
    • Method Detail

      • workDirContext

        public com.xebialabs.deployit.repository.WorkDirContext workDirContext()
        Specified by:
        workDirContext in interface com.xebialabs.xlrelease.template.SamplesImporter
      • templateImporter

        public com.xebialabs.xlrelease.export.TemplateImporter templateImporter()
        Specified by:
        templateImporter in interface com.xebialabs.xlrelease.template.SamplesImporter
      • doInitialize

        public void doInitialize()
        Specified by:
        doInitialize in interface com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getComponent

        public java.lang.String getComponent()
        Specified by:
        getComponent in interface com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization