Class RepoHelper


  • public class RepoHelper
    extends Object
    The Class RepoHelper is utility that deal with repo creation.
    Since:
    1.7.0
    • Constructor Detail

      • RepoHelper

        public RepoHelper​(String repoLocation,
                          org.apache.maven.plugin.logging.Log log)
        Instantiates a new repo helper.
        Parameters:
        repoLocation - the repo location
        log -
    • Method Detail

      • getDataBufferSize

        public int getDataBufferSize()
      • setDataBufferSize

        public void setDataBufferSize​(int dataBufferSize)
      • getModuleSrcDir

        public String getModuleSrcDir()
        Gets the module src dir.
        Returns:
        the module src dir
      • setModuleSrcDir

        public void setModuleSrcDir​(String moduleSrcDir)
        Sets the module src dir.
        Parameters:
        moduleSrcDir - the new module src dir
      • getRepoLocation

        public String getRepoLocation()
        Gets the repo location.
        Returns:
        the repo location
      • setRepoLocation

        public void setRepoLocation​(String repoLocation)
        Sets the repo location.
        Parameters:
        repoLocation - the new repo location
      • getStdServiceSrcDir

        public String getStdServiceSrcDir()
        Gets the std service src dir.
        Returns:
        the std service src dir
      • setStdServiceSrcDir

        public void setStdServiceSrcDir​(String stdServiceSrcDir)
        Sets the std service src dir.
        Parameters:
        stdServiceSrcDir - the new std service src dir
      • getJaxwsServiceSrcDir

        public String getJaxwsServiceSrcDir()
        Gets the jaxws service src dir.
        Returns:
        the jaxws service src dir
      • setJaxwsServiceSrcDir

        public void setJaxwsServiceSrcDir​(String jaxwsServiceSrcDir)
        Sets the jaxws service src dir.
        Parameters:
        jaxwsServiceSrcDir - the new jaxws service src dir
      • isJaxwsService

        public boolean isJaxwsService()
        Checks if is jaxws service.
        Returns:
        true, if is jaxws service
      • setJaxwsService

        public void setJaxwsService​(boolean jaxwsService)
        Sets the jaxws service.
        Parameters:
        jaxwsService - the new jaxws service
      • getServiceJarLocation

        public String getServiceJarLocation()
        Gets the service jar location.
        Returns:
        the service jar location
      • setServiceJarLocation

        public void setServiceJarLocation​(String serviceJarLocation)
        Sets the service jar location.
        Parameters:
        serviceJarLocation - the new service jar location
      • prepareRepostory

        public void prepareRepostory()
                              throws IOException
        Prepare repostory.
        Throws:
        IOException - Signals that an I/O exception has occurred.
      • copyDirectory

        public static void copyDirectory​(File sourceLocation,
                                         File targetLocation,
                                         int bufferSize)
                                  throws IOException
        Copy directory.
        Parameters:
        sourceLocation - the source location
        targetLocation - the target location
        bufferSize -
        Throws:
        IOException - Signals that an I/O exception has occurred.