Class CmsCreateSiteThread

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CmsCreateSiteThread​(CmsObject cms, I_CmsCRUDApp<CmsSite> manager, CmsSite site, CmsSite oldSite, java.lang.String source, java.lang.String template, boolean createOU, java.lang.String parentOU, java.lang.String selectedOU, java.io.ByteArrayOutputStream os, java.util.Map<java.lang.String,​java.lang.String> bundle, java.lang.Runnable finished)
      Constructor for Class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getReportUpdate()
      Returns the part of the report that is ready for output.
      void run()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CmsCreateSiteThread

        protected CmsCreateSiteThread​(CmsObject cms,
                                      I_CmsCRUDApp<CmsSite> manager,
                                      CmsSite site,
                                      CmsSite oldSite,
                                      java.lang.String source,
                                      java.lang.String template,
                                      boolean createOU,
                                      java.lang.String parentOU,
                                      java.lang.String selectedOU,
                                      java.io.ByteArrayOutputStream os,
                                      java.util.Map<java.lang.String,​java.lang.String> bundle,
                                      java.lang.Runnable finished)
        Constructor for Class.
        Parameters:
        cms - CmsObject
        manager - manager
        site - to be saved
        oldSite - to be overwritten
        source - to copy resources from
        template - to be set as property to root-folder of site
        createOU - indicates if OU should be generated
        parentOU - if createOU==true, sets the parent of the new OU
        selectedOU - set an existing OU
        os - ByteOutputStream with FavIcon data
        bundle - for macro resolving
        finished - runnable which gets called when thread done