org.codehaus.mojo.appassembler.daemon
Class DaemonGenerationRequest

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

public class DaemonGenerationRequest
extends Object

Version:
$Id: DaemonGenerationRequest.java 18663 2013-08-28 14:09:00Z dennisl $
Author:
Trygve Laugstøl

Constructor Summary
DaemonGenerationRequest()
          The constructor for the request.
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 getOutputFileNameMapping()
          Get the output file name mapping.
 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 setOutputFileNameMapping(String outputFileNameMapping)
          Set the output file name mapping.
 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()
The constructor for the request.


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 - The File instance for the descriptor.

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:
The Daemon instance.

setDaemon

public void setDaemon(Daemon daemon)
Set the daemon.

Parameters:
daemon - Instance of a Daemon.

getOutputDirectory

public File getOutputDirectory()
Get the current outputDirectory.

Returns:
File instance of the current outputDirectory.

setOutputDirectory

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

Parameters:
outputDirectory - The output directory as a File.

getMavenProject

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

Returns:
MavenProject instance.

setMavenProject

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

Parameters:
mavenProject - instance to be set.

getLocalRepository

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

Returns:
Instance of the ArtifactRepository.

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 - The folder.

getOutputFileNameMapping

public String getOutputFileNameMapping()
Get the output file name mapping.

Returns:
The mapping

setOutputFileNameMapping

public void setOutputFileNameMapping(String outputFileNameMapping)
Set the output file name mapping.

Parameters:
outputFileNameMapping - The mapping


Copyright © 2006-2013 Codehaus. All Rights Reserved.