Class CopyResourcesMojo.Resource

java.lang.Object
org.apache.maven.model.PatternSet
org.apache.maven.model.FileSet
org.apache.maven.model.Resource
de.iip_ecosphere.platform.tools.maven.dependencies.CopyResourcesMojo.Resource
All Implemented Interfaces:
Serializable, Cloneable, org.apache.maven.model.InputLocationTracker
Enclosing class:
CopyResourcesMojo

public static class CopyResourcesMojo.Resource extends org.apache.maven.model.Resource
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private List<String>
     
    private boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private boolean
    Sets dir as directory of this resource if dir exists.
    private boolean
    Sets dir as directory of this resource if dir exists.

    Methods inherited from class org.apache.maven.model.Resource

    clone, getFiltering, getMergeId, getTargetPath, initMergeId, isFiltering, setFiltering, setFiltering, setMergeId, setTargetPath, toString

    Methods inherited from class org.apache.maven.model.FileSet

    getDirectory, setDirectory

    Methods inherited from class org.apache.maven.model.PatternSet

    addExclude, addInclude, getExcludes, getIncludes, getLocation, removeExclude, removeInclude, setExcludes, setIncludes, setLocation, setOtherLocation

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • prependResourceDirectories

      private boolean prependResourceDirectories
    • directories

      private List<String> directories
  • Constructor Details

    • Resource

      public Resource()
  • Method Details

    • setDirectoryIfExists

      private boolean setDirectoryIfExists(String dir)
      Sets dir as directory of this resource if dir exists.
      Parameters:
      dir - the directory to set
      Returns:
      true if dir exists and the directory has been changed
    • setDirectoryIfExists

      private boolean setDirectoryIfExists(File dir)
      Sets dir as directory of this resource if dir exists.
      Parameters:
      dir - the directory to set
      Returns:
      true if dir exists and the directory has been changed