Class RarArtifactStub
java.lang.Object
org.apache.maven.plugin.testing.stubs.ArtifactStub
org.apache.maven.plugins.rar.stubs.RarArtifactStub
- All Implemented Interfaces:
Comparable<org.apache.maven.artifact.Artifact>
,org.apache.maven.artifact.Artifact
public class RarArtifactStub
extends org.apache.maven.plugin.testing.stubs.ArtifactStub
- Author:
- Allan Ramirez
-
Field Summary
Fields inherited from interface org.apache.maven.artifact.Artifact
LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_COMPILE_PLUS_RUNTIME, SCOPE_IMPORT, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_RUNTIME_PLUS_SYSTEM, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.artifact.handler.ArtifactHandler
getFile()
getId()
getScope()
getType()
org.apache.maven.artifact.versioning.VersionRange
boolean
void
setArtifactId
(String artifactId) void
void
setGroupId
(String groupId) void
setOptional
(boolean optional) void
void
setVersion
(String version) Methods inherited from class org.apache.maven.plugin.testing.stubs.ArtifactStub
addMetadata, compareTo, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getMetadataList, getRepository, getSelectedVersion, hasClassifier, isFromAuthoritativeRepository, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFromAuthoritativeRepository, setRelease, setRepository, setResolved, setResolvedVersion, setType, setVersionRange, toString, updateVersion
-
Constructor Details
-
RarArtifactStub
public RarArtifactStub()
-
-
Method Details
-
getArtifactId
- Specified by:
getArtifactId
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getArtifactId
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
setArtifactId
- Specified by:
setArtifactId
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
setArtifactId
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getFile
- Specified by:
getFile
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getFile
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
setFile
- Specified by:
setFile
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
setFile
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getGroupId
- Specified by:
getGroupId
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getGroupId
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
setGroupId
- Specified by:
setGroupId
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
setGroupId
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
isOptional
public boolean isOptional()- Specified by:
isOptional
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
isOptional
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
setOptional
public void setOptional(boolean optional) - Specified by:
setOptional
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
setOptional
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getScope
- Specified by:
getScope
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getScope
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
setScope
- Specified by:
setScope
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
setScope
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getVersion
- Specified by:
getVersion
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getVersion
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
setVersion
- Specified by:
setVersion
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
setVersion
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getId
- Specified by:
getId
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getId
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getBaseVersion
- Specified by:
getBaseVersion
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getBaseVersion
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getVersionRange
public org.apache.maven.artifact.versioning.VersionRange getVersionRange()- Specified by:
getVersionRange
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getVersionRange
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getArtifactHandler
public org.apache.maven.artifact.handler.ArtifactHandler getArtifactHandler()- Specified by:
getArtifactHandler
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getArtifactHandler
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-
getType
- Specified by:
getType
in interfaceorg.apache.maven.artifact.Artifact
- Overrides:
getType
in classorg.apache.maven.plugin.testing.stubs.ArtifactStub
-