org.apache.maven.plugin.deb
Class DefaultControlFileGenerator

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.plugin.deb.DefaultControlFileGenerator
All Implemented Interfaces:
ControlFileGenerator, org.codehaus.plexus.logging.LogEnabled

public class DefaultControlFileGenerator
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ControlFileGenerator

Version:
$Id: DefaultControlFileGenerator.java 3257 2007-02-07 02:44:21Z tobrien $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.deb.ControlFileGenerator
ROLE
 
Constructor Summary
DefaultControlFileGenerator()
           
 
Method Summary
 void generateControl(java.io.File basedir)
           
 java.lang.String getArchitecture()
           
 java.lang.String getArtifactId()
           
 java.lang.String getDebFileName()
           
 java.lang.String getDebianDescription()
           
 java.lang.String getDebianPackageName()
           
 java.lang.String getDebianVersion()
           
 java.lang.String getDepends()
           
 java.lang.String getGroupId()
           
 java.lang.String getMaintainer()
           
 java.lang.String getMaintainerRevision()
           
 java.lang.String getPriority()
           
 java.lang.String getSection()
           
 java.lang.String getShortDescription()
           
 java.lang.String getVersion()
           
 void setArchitecture(java.lang.String architecture)
           
 void setArtifactId(java.lang.String artifactId)
           
 void setDebFileName(java.lang.String debFileName)
           
 void setDependencies(java.util.Set dependencies)
           
 void setDescription(java.lang.String description)
           
 void setGroupId(java.lang.String groupId)
           
 void setMaintainer(java.lang.String maintainer)
           
 void setMaintainerRevision(java.lang.String maintainerRevision)
           
 void setPackageName(java.lang.String packageName)
           
 void setPriority(java.lang.String priority)
           
 void setSection(java.lang.String section)
           
 void setShortDescription(java.lang.String shortDescription)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultControlFileGenerator

public DefaultControlFileGenerator()
Method Detail

generateControl

public void generateControl(java.io.File basedir)
                     throws java.io.IOException,
                            org.apache.maven.plugin.MojoFailureException
Specified by:
generateControl in interface ControlFileGenerator
Throws:
java.io.IOException
org.apache.maven.plugin.MojoFailureException

getDebFileName

public java.lang.String getDebFileName()
                                throws org.apache.maven.plugin.MojoFailureException
Specified by:
getDebFileName in interface ControlFileGenerator
Throws:
org.apache.maven.plugin.MojoFailureException

setDependencies

public void setDependencies(java.util.Set dependencies)
Specified by:
setDependencies in interface ControlFileGenerator

setGroupId

public void setGroupId(java.lang.String groupId)
Specified by:
setGroupId in interface ControlFileGenerator

getGroupId

public java.lang.String getGroupId()
                            throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

setArtifactId

public void setArtifactId(java.lang.String artifactId)
Specified by:
setArtifactId in interface ControlFileGenerator

getArtifactId

public java.lang.String getArtifactId()
                               throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

setVersion

public void setVersion(java.lang.String version)
Specified by:
setVersion in interface ControlFileGenerator

getVersion

public java.lang.String getVersion()
                            throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getArchitecture

public java.lang.String getArchitecture()
                                 throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface ControlFileGenerator

setShortDescription

public void setShortDescription(java.lang.String shortDescription)
Specified by:
setShortDescription in interface ControlFileGenerator

getShortDescription

public java.lang.String getShortDescription()

setArchitecture

public void setArchitecture(java.lang.String architecture)
Specified by:
setArchitecture in interface ControlFileGenerator

getMaintainer

public java.lang.String getMaintainer()
                               throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

setMaintainer

public void setMaintainer(java.lang.String maintainer)
Specified by:
setMaintainer in interface ControlFileGenerator

setPackageName

public void setPackageName(java.lang.String packageName)
Specified by:
setPackageName in interface ControlFileGenerator

getPriority

public java.lang.String getPriority()

setPriority

public void setPriority(java.lang.String priority)
Specified by:
setPriority in interface ControlFileGenerator

getSection

public java.lang.String getSection()

setSection

public void setSection(java.lang.String section)
Specified by:
setSection in interface ControlFileGenerator

getMaintainerRevision

public java.lang.String getMaintainerRevision()

setMaintainerRevision

public void setMaintainerRevision(java.lang.String maintainerRevision)
Specified by:
setMaintainerRevision in interface ControlFileGenerator

setDebFileName

public void setDebFileName(java.lang.String debFileName)
Specified by:
setDebFileName in interface ControlFileGenerator

getDepends

public java.lang.String getDepends()
Specified by:
getDepends in interface ControlFileGenerator

getDebianVersion

public java.lang.String getDebianVersion()
                                  throws org.apache.maven.plugin.MojoFailureException
Specified by:
getDebianVersion in interface ControlFileGenerator
Throws:
org.apache.maven.plugin.MojoFailureException

getDebianPackageName

public java.lang.String getDebianPackageName()
                                      throws org.apache.maven.plugin.MojoFailureException
Specified by:
getDebianPackageName in interface ControlFileGenerator
Throws:
org.apache.maven.plugin.MojoFailureException

getDebianDescription

public java.lang.String getDebianDescription()
                                      throws org.apache.maven.plugin.MojoFailureException
Specified by:
getDebianDescription in interface ControlFileGenerator
Throws:
org.apache.maven.plugin.MojoFailureException


Copyright © 2003-2009. All Rights Reserved.