public class Prerelease extends Object
| Modifier and Type | Field and Description |
|---|---|
net.oneandone.sushi.fs.file.FileNode |
checkout |
Descriptor |
descriptor |
Target |
target
base directory with all data for this prerelease.
|
| Constructor and Description |
|---|
Prerelease(Target target,
net.oneandone.sushi.fs.file.FileNode checkout,
Descriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
Map<net.oneandone.sushi.fs.file.FileNode,String[]> |
artifactFiles() |
void |
artifactFiles(org.apache.maven.project.MavenProject project,
org.apache.maven.project.MavenProjectHelper projectHelper) |
net.oneandone.sushi.fs.file.FileNode |
artifacts() |
void |
check(org.apache.maven.plugin.logging.Log log,
Map<String,String> propertyArgs,
Maven maven) |
void |
commit(org.apache.maven.plugin.logging.Log log,
String commitMessage) |
void |
create(Maven maven,
Map<String,String> propertyArgs) |
static Prerelease |
create(Maven maven,
Map<String,String> propertyArgs,
org.apache.maven.plugin.logging.Log log,
Descriptor descriptor,
Target target) |
void |
deploySnapshot(Maven maven,
org.apache.maven.plugin.logging.Log log,
Map<String,String> userProperties,
org.apache.maven.project.MavenProject originalProject)
Same as deployPrerelease, but the working directory is not the checkout of the prerelease.
|
net.oneandone.sushi.fs.file.FileNode |
frischfleisch() |
static Prerelease |
load(Target target) |
net.oneandone.sushi.fs.file.FileNode |
prepareOrigCommit(org.apache.maven.plugin.logging.Log log) |
void |
promote(org.apache.maven.plugin.logging.Log log,
Map<String,String> propertyArgs,
String createTagMessage,
String revertTagMessage,
String nextIterationMessage,
Maven maven) |
String |
renderMessage(String message) |
void |
revertCommit(org.apache.maven.plugin.logging.Log log,
String by) |
public final Target target
public final net.oneandone.sushi.fs.file.FileNode checkout
public final Descriptor descriptor
public Prerelease(Target target, net.oneandone.sushi.fs.file.FileNode checkout, Descriptor descriptor) throws IOException
IOExceptionpublic static Prerelease load(Target target) throws IOException
IOExceptionpublic static Prerelease create(Maven maven, Map<String,String> propertyArgs, org.apache.maven.plugin.logging.Log log, Descriptor descriptor, Target target) throws Exception
Exceptionpublic net.oneandone.sushi.fs.file.FileNode artifacts()
public net.oneandone.sushi.fs.file.FileNode frischfleisch()
public void deploySnapshot(Maven maven, org.apache.maven.plugin.logging.Log log, Map<String,String> userProperties, org.apache.maven.project.MavenProject originalProject) throws Exception
Exceptionpublic void commit(org.apache.maven.plugin.logging.Log log,
String commitMessage)
throws net.oneandone.sushi.launcher.Failure
net.oneandone.sushi.launcher.Failurepublic void revertCommit(org.apache.maven.plugin.logging.Log log,
String by)
throws net.oneandone.sushi.launcher.Failure
net.oneandone.sushi.launcher.Failurepublic net.oneandone.sushi.fs.file.FileNode prepareOrigCommit(org.apache.maven.plugin.logging.Log log)
throws IOException,
net.oneandone.sushi.xml.XmlException,
SAXException,
org.apache.maven.plugin.MojoExecutionException
IOExceptionnet.oneandone.sushi.xml.XmlExceptionSAXExceptionorg.apache.maven.plugin.MojoExecutionExceptionpublic void create(Maven maven, Map<String,String> propertyArgs) throws Exception
Exceptionpublic void check(org.apache.maven.plugin.logging.Log log,
Map<String,String> propertyArgs,
Maven maven)
throws Exception
Exceptionpublic void promote(org.apache.maven.plugin.logging.Log log,
Map<String,String> propertyArgs,
String createTagMessage,
String revertTagMessage,
String nextIterationMessage,
Maven maven)
throws Exception
Exceptionpublic String renderMessage(String message) throws net.oneandone.sushi.util.SubstitutionException
net.oneandone.sushi.util.SubstitutionExceptionpublic void artifactFiles(org.apache.maven.project.MavenProject project,
org.apache.maven.project.MavenProjectHelper projectHelper)
throws IOException
IOExceptionpublic Map<net.oneandone.sushi.fs.file.FileNode,String[]> artifactFiles() throws IOException
IOExceptionCopyright © 2012-2015 1&1. All Rights Reserved.