Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   package org.codehaus.mojo.rpm;
   
   /*
    * Licensed to the Apache Software Foundation (ASF) under one
    * or more contributor license agreements.  See the NOTICE file
    * distributed with this work for additional information
    * regarding copyright ownership.  The ASF licenses this file
    * to you under the Apache License, Version 2.0 (the
    * "License"); you may not use this file except in compliance
   * with the License.  You may obtain a copy of the License at
   *
   *   http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing,
   * software distributed under the License is distributed on an
   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   * KIND, either express or implied.  See the License for the
   * specific language governing permissions and limitations
   * under the License.
   */
  
  import java.io.File;
  import java.util.List;
  import java.util.Map;
  
Abstract base class for building RPMs.

Author(s):
Carlos
Brett Okken, Cerner Corp.
Version:
$Id: AbstractRPMMojo.java 11809 2010-02-05 21:46:08Z bokken $
  
  abstract class AbstractRPMMojo extends AbstractMojo implements RPMVersionableMojo
  {
    
The key of the map is the directory where the files should be linked to. The value is the List of SoftlinkSources to be linked to.

Since:
2.0-beta-3
  
      private final Map/*<String, List<Source>>*/ linkTargetToSources = new LinkedHashMap();

    
The name portion of the output file name.

Parameter:
expression="${project.artifactId}"
Required:
  
      private String name;

    
The version portion of the RPM file name.

Parameter:
alias="version" expression="${project.version}"
Required:
  
      private String projversion;

    
The release portion of the RPM file name.

Beginning with 2.0-beta-2, this is an optional parameter. By default, the release will be generated from the modifier portion of the project version using the following rules:

  • If no modifier exists, the release will be 1.
  • If the modifier ends with SNAPSHOT, the timestamp (in UTC) of the build will be appended to end.
  • All instances of '-' in the modifier will be replaced with '_'.
  • If a modifier exists and does not end with SNAPSHOT, "_1" will be appended to end.

Parameter:
  
      private String release;

    
The target architecture for the rpm. The default value is noarch.

For passivity purposes, a value of true or false will indicate whether the architecture of the build machine will be used. Any other value (such as x86_64) will set the architecture of the rpm to x86_64.

This can also be used in conjunction with Source targetArchitecture to flex the contents of the rpm based on the architecture.

Parameter:
 
     private String needarch;
    
    
The actual targeted architecture. This will be based on evaluation of needarch.
 
     private String targetArch;
    
    
The target os for building the RPM. By default, this will be populated to Os.OS_NAME.

This can be used in conjunction with Source targetOSName to flex the contents of the rpm based on operating system.

Since:
2.0-beta-3
Parameter:
 
     private String targetOS;
    
    
The target vendor for building the RPM. By default, this will be populated to the result of rpm -E %{_host_vendor}.

Since:
2.0-beta-3
Parameter:
 
     private String targetVendor;

    
Set to a key name to sign the package using GPG. If keyPassphrase is not also provided, this will require the input of the passphrase at the terminal.

Parameter:
expression="${gpg.keyname}"
 
     private String keyname;

    
The passphrase for the keyname to sign the rpm. This utilizes expect and requires that expect be on the PATH.

Since:
2.0-beta-4
Parameter:
 
     private Passphrase keyPassphrase;

    
The long description of the package.

Parameter:
expression="${project.description}"
 
     private String description;

    
The one-line description of the package.

Parameter:
expression="${project.name}"
 
     private String summary;

    
The one-line copyright information.

Parameter:
 
     private String copyright;

    
The distribution containing this package.

Parameter:
 
     private String distribution;

    
An icon for the package.

Parameter:
 
     private File icon;

    
The vendor supplying the package.

Parameter:
expression="${project.organization.name}"
 
     private String vendor;

    
A URL for the vendor.

Parameter:
expression="${project.organization.url}"
 
     private String url;

    
The package group for the package.

Parameter:
Required:
 
     private String group;

    
The name of the person or group creating the package.

Parameter:
expression="${project.organization.name}"
 
     private String packager;

    
Automatically add provided shared libraries.

Since:
2.0-beta-4
Parameter:
default-value="true"
 
     private boolean autoProvides;
    
    
Automatically add requirements deduced from included shared libraries.

Since:
2.0-beta-4
Parameter:
default-value="true"
 
     private boolean autoRequires;

    
The list of virtual packages provided by this package.

Parameter:
 
     private LinkedHashSet provides;

    
The list of requirements for this package.

Parameter:
 
     private LinkedHashSet requires;

    
The list of prerequisites for this package.

Since:
2.0-beta-3
Parameter:
 
     private LinkedHashSet prereqs;
    
    
The list of obsoletes for this package.

Since:
2.0-beta-3
Parameter:
 
     private LinkedHashSet obsoletes;

    
The list of conflicts for this package.

Parameter:
 
     private LinkedHashSet conflicts;

    
The relocation prefix for this package.

Parameter:
 
     private String prefix;

    
The area for RPM to use for building the package.
NOTE: The absolute path to the workarea MUST NOT have a space in any of the directory names.

Beginning with release 2.0-beta-3, sub-directories will be created within the workarea for each execution of the plugin within a life cycle.
The pattern will be workarea/name[-classifier].
The classifier portion is only applicable for the attached-rpm goal.

Parameter:
expression="${project.build.directory}/rpm"
 
     private File workarea;

    
The list of file mappings.

Parameter:
Required:
 
     private List mappings;
    
    
The prepare script.

Deprecated:
Use prepareScriplet
Parameter:
 
     private String prepare;
    
    
The location of the prepare script. A File which does not exist is ignored.

Deprecated:
Use prepareScriplet
Parameter:
 
     private File prepareScript;
    
    
The prepare scriptlet;

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet prepareScriptlet;

    
The pre-installation script.

Deprecated:
Use preinstallScriplet
Parameter:
 
     private String preinstall;

    
The location of the pre-installation script.

Beginning with release 2.0-beta-3, a File which does not exist is ignored.

Deprecated:
Use preinstallScriplet
Parameter:
 
     private File preinstallScript;
    
    
The pre-installation scriptlet.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet preinstallScriptlet;

    
The post-installation script.

Deprecated:
Use postinstallScriplet
Parameter:
 
     private String postinstall;

    
The location of the post-installation script.

Beginning with release 2.0-beta-3, a File which does not exist is ignored.

Deprecated:
Use postinstallScriplet
Parameter:
 
     private File postinstallScript;
    
    
The post install scriptlet.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet postinstallScriptlet;

    
The installation script.

Beginning with release 2.0-beta-3, a File which does not exist is ignored.

Deprecated:
Use installScriplet
Parameter:
 
     private String install;

    
The location of the installation script.

Beginning with release 2.0-beta-3, a File which does not exist is ignored.

Deprecated:
Use installScriplet
Parameter:
 
     private File installScript;
    
    
The installation scriptlet.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet installScriptlet;

    
The pre-removal script.

Deprecated:
Use preremoveScriplet
Parameter:
 
     private String preremove;

    
The location of the pre-removal script.

Beginning with release 2.0-beta-3, a File which does not exist is ignored.

Deprecated:
Use preremoveScriplet
Parameter:
 
     private File preremoveScript;
    
    
The pre-removal scriptlet.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet preremoveScriptlet;
    
    
The post-removal script.

Deprecated:
Use postremoveScriplet
Parameter:
 
     private String postremove;

    
The location of the post-removal script.

Beginning with release 2.0-beta-3, a File which does not exist is ignored.

Deprecated:
Use postremoveScriplet
Parameter:
 
     private File postremoveScript;
    
    
The post-removal scriptlet.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet postremoveScriptlet;

    
The verification script.

Deprecated:
Use verifyScriplet
Parameter:
 
     private String verify;

    
The location of the verification script.

Beginning with release 2.0-beta-3, a File which does not exist is ignored.

Deprecated:
Use verifyScriplet
Parameter:
 
     private File verifyScript;
    
    
The verify scriptlet.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet verifyScriptlet;

    
The clean script.

Deprecated:
Use cleanScriplet
Parameter:
 
     private String clean;

    
The location of the clean script.

Beginning with release 2.0-beta-3, a File which does not exist is ignored.

Deprecated:
Use cleanScriplet
Parameter:
 
     private File cleanScript;
    
    
The clean scriptlet.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet cleanScriptlet;

    
The pretrans scriptlet.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet pretransScriptlet;

    
The posttrans script.

Since:
2.0-beta-4
Parameter:
 
     private Scriptlet posttransScriptlet;
    
    
The list of triggers to take place on installation of other packages.
  <triggers>
      <installTrigger>
          <subpackage>optional</subpackage>
          <program>program to execute (if not shell) optional</program>
          <script>actual contents of script - optional</script>
          <scriptFile>location of file containing script - optional</script>
          <fileEncoding>character encoding for script file - recommended</fileEncoding>
          <triggers>
              <trigger>package/version to trigger on (i.e. jre > 1.5)</trigger>
              ...
          </triggers>
      </installTrigger>
      <removeTrigger>
          ...
      </removeTrigger>
      <postRemoveTrigger>
          ...
      </postRemoveTrigger>
      ...
  </triggers>
 

Since:
2.0-beta-4
See also:
BaseTrigger
Parameter:
 
     private List/* <Trigger> */triggers;

    
Filters (property files) to include during the interpolation of the pom.xml.

Since:
2.0
Parameter:
 
     private List filters;

    
Expression preceded with the String won't be interpolated \${foo} will be replaced with ${foo}

Since:
2.0
Parameter:
expression="${maven.rpm.escapeString}"
 
     private String escapeString;

    

Since:
2.0
Parameter:
expression="${session}"
Readonly:
Required:
 
     private MavenSession session;

    

Since:
2.0
Component:
role="org.apache.maven.shared.filtering.MavenFileFilter" roleHint="default"
 
     private MavenFileFilter mavenFileFilter;

    
The filter wrappers to use for file filtering.

Since:
2.0
See also:
mavenFileFilter
 
     private List/* FileUtils.FilterWrapper */defaultFilterWrappers;

    
The primary project artifact.

Parameter:
expression="${project.artifact}"
Required:
Readonly:
 
     private Artifact artifact;

    
Auxillary project artifacts.

Parameter:
expression="${project.attachedArtifacts}
Required:
Readonly:
 
     private List attachedArtifacts;

    

Parameter:
default-value="${project}"
Required:
Readonly:
 
     protected MavenProject project;

    
A list of %define arguments

Parameter:
 
     private List defineStatements;

    
The default file mode (octal string) to assign to files when installed.
Only applicable to a Mapping if filemode, username, AND groupname are NOT populated.

Since:
2.0-beta-2
Parameter:
 
     private String defaultFilemode;

    
The default directory mode (octal string) to assign to directories when installed.
Only applicable to a Mapping if filemode, username, AND groupname are NOT populated.

Since:
2.0-beta-2
Parameter:
 
     private String defaultDirmode;

    
The default user name for files when installed.
Only applicable to a Mapping if filemode, username, AND groupname are NOT populated.

Since:
2.0-beta-2
Parameter:
 
     private String defaultUsername;

    
The default group name for files when installed.
Only applicable to a Mapping if filemode, username, AND groupname are NOT populated.

Since:
2.0-beta-2
Parameter:
 
     private String defaultGroupname;
    
    
Indicates if the execution should be disabled. If true, nothing will occur during execution.

Since:
2.0
Parameter:
 
     private boolean disabled;

    
The root of the build area.
 
     private File buildroot;
    
    
The changelog string.
 
     private String changelog;

    
The changelog file. If the file does not exist, it is ignored.

Since:
2.0-beta-3
Parameter:
 
     private File changelogFile;
 
     // // // Mojo methods
 
    
 
     public final void execute() throws MojoExecutionExceptionMojoFailureException
     {
         if (  )
         {
             getLog().info"MOJO is disabled. Doing nothing." );
             return;
         }
 
         final RPMHelper helper = new RPMHelperthis );
         
         checkParamshelper );
 
         final String classifier = getClassifier();
         
         if ( classifier != null )
         {
              = new File + '-' + classifier );
         }
         else
         {
              = new File );
         }
         
         buildWorkArea();
 
         // set up the maven file filter and FilteringDirectoryArchiver
         setDefaultWrappers();        
         final FilteringDirectoryArchiver copier = new FilteringDirectoryArchiver();        
         copier.setMavenFileFilter );        
         new FileHelperthiscopier ).installFiles();
         
         writeSpecFile();
         helper.buildPackage();
         
         afterExecution();
     }
    
    
Will be called on completion of execute(). Provides subclasses an opportunity to perform any post execution logic (such as attaching an artifact).

 
     protected void afterExecution() throws MojoExecutionExceptionMojoFailureException
     {
         
     }
    
    
Provides an opportunity for subclasses to provide an additional classifier for the rpm workarea.
By default this implementation returns null, which indicates that no additional classifier should be used.

Returns:
An additional classifier to use for the rpm workarea or null if no additional classifier should be used.
 
     {
         return null;
     }
    
    
Returns the generated rpm java.io.File.

Returns:
The generated rpm File.
 
     protected File getRPMFile()
     {
         File rpms = new File"RPMS" );
         File archDir = new Filerpms );
         
         return new FilearchDir + '-' +  + '-' +  + '.' +  + ".rpm" );
     }

    
 
     private void setDefaultWrappers()
         throws MojoExecutionException
     {
         final MavenResourcesExecution mavenResourcesExecution = new MavenResourcesExecution();
         mavenResourcesExecution.setEscapeString );
 
         try
         {
              =
                 .getDefaultFilterWrappersfalsethis.,
                                                           mavenResourcesExecution );
         }
         catch ( MavenFilteringException e )
         {
             getLog().error"fail to build filering wrappers " + e.getMessage() );
             throw new MojoExecutionExceptione.getMessage(), e );
         }
     }

    
Build the structure of the work area.

Throws:
org.apache.maven.plugin.MojoFailureException if a directory cannot be built
org.apache.maven.plugin.MojoExecutionException if buildroot cannot be cleared (if exists)
 
     private void buildWorkArea() throws MojoFailureExceptionMojoExecutionException
     {
         final String[] topdirs = { "BUILD""RPMS""SOURCES""SPECS""SRPMS""buildroot" };
 
         // Build the top directory
         if ( !.exists() )
         {
             getLog().info"Creating directory " + .getAbsolutePath() );
             if ( !.mkdirs() )
             {
                 throw new MojoFailureException"Unable to create directory " + .getAbsolutePath() );
             }
         }
 
         validateWorkarea();
 
         // Build each directory in the top directory
         for ( int i = 0; i < topdirs.lengthi++ )
         {
             File d = new Filetopdirs[i] );
             if ( d.exists() )
             {
                 getLog().info"Directory " + d.getAbsolutePath() + "already exists. Deleting all contents." );
                 
                 try
                 {
                     FileUtils.cleanDirectoryd );
                 }
                 catch ( IOException e )
                 {
                     throw new MojoExecutionException"Unable to clear directory: " + d.getName(), e );
                 }
             }
             else
             {
                 getLog().info"Creating directory " + d.getAbsolutePath() );
                 if ( !d.mkdir() )
                 {
                     throw new MojoFailureException"Unable to create directory " + d.getAbsolutePath() );
                 }
             }
         }
 
         // set build root variable
          = new File"buildroot" );
     }

    
Check the parameters for validity.

Throws:
org.apache.maven.plugin.MojoFailureException if an invalid parameter is found
org.apache.maven.plugin.MojoExecutionException if an error occurs reading a script
 
     private void checkParamsRPMHelper helper ) throws MojoExecutionExceptionMojoFailureException
     {
         Log log = getLog();
         log.debug"project version = " +  );
 
         // check/calculate the version string
         final VersionHelper.Version version = new VersionHelperthis ).calculateVersion();
         log.debug"calculated version: " + version );
         this. = version.version;
         this. = version.release;
 
         // evaluate needarch and populate targetArch
         if (  == null || .length() == 0 || "false".equalsIgnoreCase ) )
         {
              = "noarch";
         }
         else if ( "true".equalsIgnoreCase ) )
         {
              = .;
         }
         else
         {
              = ;
         }
         log.debug"targetArch = " +  );
 
         // provide default targetOS if value not given
         if (  == null || .length() == 0 )
         {
              = .;
         }
         log.debug"targetOS = " +  );
 
         if (  == null || .length() == 0 )
         {
              = helper.getHostVendor();
         }
         log.debug"targetVendor = " +  );
 
         // Various checks in the mappings
         for ( Iterator it = .iterator(); it.hasNext(); )
         {
             Mapping map = (Mappingit.next();
             if ( map.getDirectory() == null )
             {
                 throw new MojoFailureException"<mapping> element must contain the destination directory" );
             }
             if ( map.getSources() != null )
             {
                 for ( Iterator sit = map.getSources().iterator(); sit.hasNext(); )
                 {
                     Source src = (Sourcesit.next();
                     if ( src.getLocation() == null )
                     {
                         throw new MojoFailureException"<mapping><source> tag must contain the source directory" );
                     }
                 }
             }
         }
 
          = passiveScripts"prepare" );
          = passiveScripts"install" );
          = passiveScripts"verify" );
          = passiveScripts"clean" );
 
         if ( (  == null ) && (  != null ) )
         {
             if ( !.exists() )
             {
                 log.debug.getAbsolutePath() + " does not exist - ignoring" );
             }
             else
             {
                 try
                 {
                     StringBuffer sb = new StringBuffer();
                     BufferedReader br = new BufferedReadernew FileReader ) );
                     while ( br.ready() )
                     {
                         String line = br.readLine();
                         sb.appendline );
                         sb.append'\n' );
                     }
                     br.close();
                      = sb.toString();
                 }
                 catch ( Throwable t )
                 {
                     throw new MojoExecutionException"Unable to read " + .getAbsolutePath(), t );
                 }
             }
         }
 
         //generate copyright text if not set
         if (  == null )
         {
              = generateCopyrightText();
         }
         
         // if this package obsoletes any packages, make sure those packages are added to the provides list
         if (  != null )
         {
             if (  == null )
             {
                  = ;
             }
             else
             {
                 .addAll );
             }
         }
     }

    
Validate that workarea is a directory and that the java.io.File.getAbsolutePath() does not contain any spaces.

 
     private void validateWorkarea()
         throws MojoExecutionException
     {
         if ( !.isDirectory() )
         {
             throw new MojoExecutionException + " is not a directory" );
         }
 
         if ( .getAbsolutePath().trim().indexOf" " ) != -1 )
         {
             throw new MojoExecutionException + " contains a space in path" );
         }
     }

    
Handles the scriptlet and corresponding deprecated script and file. Will return a Scriptlet representing the coalesced stated.
 
     private final Scriptlet passiveScriptsfinal String nameScriptlet scriptletfinal String script
                                             final File file )
    {
        if ( scriptlet == null && ( script != null || file != null ) )
        {
            scriptlet = new Scriptlet();
            scriptlet.setScriptscript );
            scriptlet.setScriptFilefile );
            getLog().warn"Deprecated <" + name + "> and/or <" + name + "Script> used - should use <" + name 
                           + "Scriptlet>" );
        }
        return scriptlet;
    }

    
Write the SPEC file.

Throws:
org.apache.maven.plugin.MojoExecutionException if an error occurs writing the file
    private void writeSpecFile() throws MojoExecutionException
    {
        File f = new File"SPECS" );
        File specf = new Filef + ".spec" );
        try
        {
            getLog().info"Creating spec file " + specf.getAbsolutePath() );
            PrintWriter spec = new PrintWriternew FileWriterspecf ) );
            try
            {
                new SpecWriterthisspec ).writeSpecFile();
            }
            finally
            {
                spec.close();
            }
        }
        catch ( IOException e )
        {
            throw new MojoExecutionException"Unable to write " + specf.getAbsolutePath(), e );
        }
    }

    
Generates the copyright text from org.apache.maven.project.MavenProject.getOrganization() and org.apache.maven.project.MavenProject.getInceptionYear().

Returns:
Generated copyright text from the organization name and inception year.
    private String generateCopyrightText()
    {
        String copyrightText;
        String year = .getInceptionYear();
        String organization = .getOrganization() == null ? null : .getOrganization().getName();
        if ( ( year != null ) && ( organization != null ) )
        {
            copyrightText = year + " " + organization;
        }
        else
        {
            copyrightText = year == null ? organization : year;
        }
        return copyrightText;
    }

    

Returns:
Returns the linkTargetToSources.
    final Map/*<String, List<Source>>*/ getLinkTargetToSources()
    {
        return this.;
    }

    

Returns:
Returns the name.
    final String getName()
    {
        return this.;
    }

    

Returns:
Returns the release.
    public final String getRelease()
    {
        return this.;
    }

    

Returns:
Returns the description.
    final String getDescription()
    {
        return this.;
    }

    

Returns:
Returns the summary.
    final String getSummary()
    {
        return this.;
    }

    

Returns:
Returns the copyright.
    final  String getCopyright()
    {
        return this.;
    }

    

Returns:
Returns the distribution.
    final String getDistribution()
    {
        return this.;
    }

    

Returns:
Returns the icon.
    final File getIcon()
    {
        return this.;
    }

    

Returns:
Returns the vendor.
    final String getVendor()
    {
        return this.;
    }

    

Returns:
Returns the url.
    final String getUrl()
    {
        return this.;
    }

    

Returns:
Returns the group.
    final String getGroup()
    {
        return this.;
    }

    

Returns:
Returns the packager.
    final String getPackager()
    {
        return this.;
    }

    

Returns:
Returns the autoProvides.
    final boolean isAutoProvides()
    {
        return this.;
    }

    

Returns:
Returns the autoRequires.
    final boolean isAutoRequires()
    {
        return this.;
    }

    

Returns:
Returns the provides.
    final LinkedHashSet getProvides()
    {
        return this.;
    }

    

Returns:
Returns the requires.
    final LinkedHashSet getRequires()
    {
        return this.;
    }

    

Returns:
Returns the prereqs.
    final LinkedHashSet getPrereqs()
    {
        return this.;
    }

    

Returns:
Returns the obsoletes.
    {
        return this.;
    }

    

Returns:
Returns the conflicts.
    {
        return this.;
    }

    

Returns:
Returns the prefix.
    final String getPrefix()
    {
        return this.;
    }

    

Returns:
Returns the mappings.
    final List getMappings()
    {
        return this.;
    }

    

Returns:
Returns the prepareScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the preinstallScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the postinstallScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the installScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the preremoveScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the postremoveScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the verifyScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the cleanScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the pretransScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the posttransScriptlet.
    {
        return this.;
    }

    

Returns:
Returns the triggers.
    final List getTriggers()
    {
        return this.;
    }

    

Returns:
Returns the defineStatements.
    final List getDefineStatements()
    {
        return this.;
    }

    

Returns:
Returns the defaultFilemode.
    final String getDefaultFilemode()
    {
        return this.;
    }

    

Returns:
Returns the defaultDirmode.
    final String getDefaultDirmode()
    {
        return this.;
    }

    

Returns:
Returns the defaultUsername.
    final String getDefaultUsername()
    {
        return this.;
    }

    

Returns:
Returns the defaultGroupname.
    {
        return this.;
    }

    

Returns:
Returns the buildroot.
    final File getBuildroot()
    {
        return this.;
    }

    

InheritDoc:
    public final String getVersion()
    {
        return this.;
    }

    

Returns:
Returns the changelog.
    final String getChangelog()
    {
        return this.;
    }

    

Returns:
Returns the targetArch.
    final String getTargetArch()
    {
        return this.;
    }

    

Returns:
Returns the targetOS.
    final String getTargetOS()
    {
        return this.;
    }

    

Returns:
Returns the targetVendor.
    final String getTargetVendor()
    {
        return this.;
    }

    

Returns:
Returns the keyname.
    final String getKeyname()
    {
        return this.;
    }

    

Returns:
Returns the keyPassphrase.
    {
        return this.;
    }

    

Returns:
Returns the workarea.
    final File getWorkarea()
    {
        return this.;
    }

    

Returns:
Returns the artifact.
    final Artifact getArtifact()
    {
        return this.;
    }

    

Returns:
Returns the attachedArtifacts.
    final List getAttachedArtifacts()
    {
        return this.;
    }

    
Returns the wrappers to use for filtering resources.

Returns:
Returns the FilterWrappers to use for filtering resources.
    final List/* FileUtils.FilterWrapper */getFilterWrappers()
    {
        return this.;
    }
New to GrepCode? Check out our FAQ X