org.codehaus.mojo.appassembler.daemon
Class DaemonGenerationRequest

java.lang.Object
  extended by org.codehaus.mojo.appassembler.daemon.DaemonGenerationRequest

public class DaemonGenerationRequest
extends Object

Author:
kama

Constructor Summary
DaemonGenerationRequest()
           
DaemonGenerationRequest(Daemon daemon, org.apache.maven.project.MavenProject project, org.apache.maven.artifact.repository.ArtifactRepository localRepository, File outputDir, String binFolder)
          Request with the given parameters.
 
Method Summary
 String getBinFolder()
          Get the current binary folder.
 Daemon getDaemon()
          Get the Daemon of the current request.
 org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
          Get the local repository.
 org.apache.maven.project.MavenProject getMavenProject()
          Get the use MavenProject.
 File getOutputDirectory()
          Get the current outputDirectory.
 String getPlatform()
          Get the Plaform.
 org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout getRepositoryLayout()
           
 Daemon getStubDaemon()
          Get the StubDaemon FIXME: Is this needed?
 File getStubDescriptor()
          Get the StubDescriptor FIXME: What for is this needed?
 void setBinFolder(String binFolder)
          Set the binary folder.
 void setDaemon(Daemon daemon)
          Set the daemon.
 void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 void setMavenProject(org.apache.maven.project.MavenProject mavenProject)
          Set the Maven Project.
 void setOutputDirectory(File outputDirectory)
          Set the current output directory.
 void setPlatform(String platform)
           
 void setRepositoryLayout(org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout repositoryLayout)
          Set the current repository layout.
 void setStubDaemon(Daemon stubDaemon)
          Set the StubDaemon.
 void setStubDescriptor(File stubDescriptor)
          Set the StubDescriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaemonGenerationRequest

public DaemonGenerationRequest()

DaemonGenerationRequest

public DaemonGenerationRequest(Daemon daemon,
                               org.apache.maven.project.MavenProject project,
                               org.apache.maven.artifact.repository.ArtifactRepository localRepository,
                               File outputDir,
                               String binFolder)
Request with the given parameters.

Parameters:
daemon - The Daemon to use.
project - The Maven Project
localRepository - The local repository.
outputDir - The output directory.
binFolder - The binary folder.
Method Detail

getPlatform

public String getPlatform()
Get the Plaform.

Returns:
the Platform.

setPlatform

public void setPlatform(String platform)
Parameters:
platform - Set the platform.

getStubDescriptor

public File getStubDescriptor()
Get the StubDescriptor FIXME: What for is this needed?

Returns:
The Stub Descriptor file.

setStubDescriptor

public void setStubDescriptor(File stubDescriptor)
Set the StubDescriptor. FIXME: What for is this needed?

Parameters:
stubDescriptor -

getStubDaemon

public Daemon getStubDaemon()
Get the StubDaemon FIXME: Is this needed?

Returns:
The set stub Daemon

setStubDaemon

public void setStubDaemon(Daemon stubDaemon)
Set the StubDaemon. FIXME: Is this needed?

Parameters:
stubDaemon - This will be set.

getDaemon

public Daemon getDaemon()
Get the Daemon of the current request.

Returns:

setDaemon

public void setDaemon(Daemon daemon)
Set the daemon.

Parameters:
daemon -

getOutputDirectory

public File getOutputDirectory()
Get the current outputDirectory.

Returns:

setOutputDirectory

public void setOutputDirectory(File outputDirectory)
Set the current output directory.

Parameters:
outputDirectory -

getMavenProject

public org.apache.maven.project.MavenProject getMavenProject()
Get the use MavenProject.

Returns:

setMavenProject

public void setMavenProject(org.apache.maven.project.MavenProject mavenProject)
Set the Maven Project.

Parameters:
mavenProject -

getLocalRepository

public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
Get the local repository.

Returns:

setLocalRepository

public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Parameters:
localRepository - Set the local repositoy.

getRepositoryLayout

public org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout getRepositoryLayout()
Returns:
The current repository layout.

setRepositoryLayout

public void setRepositoryLayout(org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout repositoryLayout)
Set the current repository layout.

Parameters:
repositoryLayout - The repositoryLayout which will be set.

getBinFolder

public String getBinFolder()
Get the current binary folder.

Returns:
the setting of the binary folder.

setBinFolder

public void setBinFolder(String binFolder)
Set the binary folder.

Parameters:
binFolder -


Copyright © 2006-2012 Codehaus. All Rights Reserved.