Package io.ultreia.maven.gitlab
Class GitlabMojoSupport
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.ultreia.maven.gitlab.GitlabMojoSupport
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
CheckMilestoneExistMojo,CloseMilestoneMojo,ComputeMilestoneEstimateTimeMojo,CreateMilestoneMojo,DownloadExtraArtifactsMojo,DownloadMilestonesMojo,GenerateChangelogMojo,GenerateChangesMojo,ReopenMilestoneMojo
public abstract class GitlabMojoSupport extends org.apache.maven.plugin.AbstractMojoCreated by tchemit on 20/02/17.- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Constructor Description GitlabMojoSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()StringgetHost()StringgetOrganizationId()StringgetProjectId()booleanisVerbose()protected Set<MilestoneReleaseArtifactModel>loadArtifacts(List<ReleaseArtifactModel> releaseArtifacts, String version)GitlabCachenewCache()protected StringremoveSnapShot(String milestone)
-
-
-
Method Detail
-
isVerbose
public boolean isVerbose()
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
newCache
public GitlabCache newCache()
-
getHost
public String getHost()
-
getOrganizationId
public String getOrganizationId()
-
getProjectId
public String getProjectId()
-
loadArtifacts
protected Set<MilestoneReleaseArtifactModel> loadArtifacts(List<ReleaseArtifactModel> releaseArtifacts, String version)
-
-