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(File basedir)
           
 String getArchitecture()
           
 String getArtifactId()
           
 String getDebFileName()
           
 String getDebianDescription()
           
 String getDebianPackageName()
           
 String getDebianVersion()
           
 String getDepends()
           
 String getGroupId()
           
 String getMaintainer()
           
 String getMaintainerRevision()
           
 String getPriority()
           
 String getSection()
           
 String getShortDescription()
           
 String getVersion()
           
 void setArchitecture(String architecture)
           
 void setArtifactId(String artifactId)
           
 void setDebFileName(String debFileName)
           
 void setDependencies(Set dependencies)
           
 void setDescription(String description)
           
 void setGroupId(String groupId)
           
 void setMaintainer(String maintainer)
           
 void setMaintainerRevision(String maintainerRevision)
           
 void setPackageName(String packageName)
           
 void setPriority(String priority)
           
 void setSection(String section)
           
 void setShortDescription(String shortDescription)
           
 void setVersion(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(File basedir)
                     throws IOException,
                            org.apache.maven.plugin.MojoFailureException
Specified by:
generateControl in interface ControlFileGenerator
Throws:
IOException
org.apache.maven.plugin.MojoFailureException

getDebFileName

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

setDependencies

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

setGroupId

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

getGroupId

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

setArtifactId

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

getArtifactId

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

setVersion

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

getVersion

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

getArchitecture

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

setDescription

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

setShortDescription

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

getShortDescription

public String getShortDescription()

setArchitecture

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

getMaintainer

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

setMaintainer

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

setPackageName

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

getPriority

public String getPriority()

setPriority

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

getSection

public String getSection()

setSection

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

getMaintainerRevision

public String getMaintainerRevision()

setMaintainerRevision

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

setDebFileName

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

getDepends

public String getDepends()
Specified by:
getDepends in interface ControlFileGenerator

getDebianVersion

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

getDebianPackageName

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

getDebianDescription

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


Copyright © 2003-2011 Codehaus. All Rights Reserved.