Package org.reficio.p2
Class P2Helper
- java.lang.Object
-
- org.reficio.p2.P2Helper
-
public class P2Helper extends Object
Glues together the following independent modules that know nothing about the plugin and the p2-maven-plugin model:- artifact resolver module
- artifact bundler module
- Since:
- 1.1.0
- Author:
- Tom Bujok (tom.bujok@gmail.com)
Reficio (TM) - Reestablish your software!
http://www.reficio.org
-
-
Constructor Summary
Constructors Constructor Description P2Helper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcalculateSourceName(String name, String symbolicName)static StringcalculateSourceSymbolicName(String symbolicName)static StringcalculateSymbolicNameWithOptions(P2Artifact p2Artifact, ResolvedArtifact resolvedArtifact, String symbolicName)static ArtifactBundlerInstructionscreateBundlerInstructions(P2Artifact p2Artifact, ResolvedArtifact resolvedArtifact, String timestamp)static ArtifactBundlerRequestcreateBundlerRequest(P2Artifact p2Artifact, ResolvedArtifact resolvedArtifact, File outputFolder)static booleanisProperSnapshotVersion(String version)
-
-
-
Method Detail
-
createBundlerRequest
public static ArtifactBundlerRequest createBundlerRequest(P2Artifact p2Artifact, ResolvedArtifact resolvedArtifact, File outputFolder)
-
createBundlerInstructions
public static ArtifactBundlerInstructions createBundlerInstructions(P2Artifact p2Artifact, ResolvedArtifact resolvedArtifact, String timestamp)
-
isProperSnapshotVersion
public static boolean isProperSnapshotVersion(String version)
-
calculateSymbolicNameWithOptions
public static String calculateSymbolicNameWithOptions(P2Artifact p2Artifact, ResolvedArtifact resolvedArtifact, String symbolicName)
-
-