org.universAAL.support.directives.procedures
Class Tag

Package class diagram package Tag
java.lang.Object
  extended by org.universAAL.support.directives.procedures.Tag
All Implemented Interfaces:
APIProcedure

public class Tag
extends Object
implements APIProcedure

Tags the project in an appropiate tag URL, in concordance to T2.3 Directives.

Author:
amedrano

Constructor Summary
Tag(boolean tagRemoteHead)
           
 
Method Summary
 void execute(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.plugin.logging.Log log)
          
static String getTagURL(org.apache.maven.project.MavenProject mavenProject)
          parses the scm url to generate an appropiate tag URL, in concordance to T2.3 Directives
 boolean performTag(String url, String tagUrl, String msg)
           
 boolean performWCTag(File wd, String tagUrl, String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tag

public Tag(boolean tagRemoteHead)
Method Detail

execute

public void execute(org.apache.maven.project.MavenProject mavenProject,
                    org.apache.maven.plugin.logging.Log log)
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException

Specified by:
execute in interface APIProcedure
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getTagURL

public static String getTagURL(org.apache.maven.project.MavenProject mavenProject)
parses the scm url to generate an appropiate tag URL, in concordance to T2.3 Directives

Returns:

performTag

public boolean performTag(String url,
                          String tagUrl,
                          String msg)

performWCTag

public boolean performWCTag(File wd,
                            String tagUrl,
                            String msg)


Copyright © 2014 universAAL Consortium. All Rights Reserved.