de.matthias_burbach.deputy.core.rule
Class Rule
java.lang.Object
de.matthias_burbach.deputy.core.rule.Rule
- All Implemented Interfaces:
- ProjectQualifier
- Direct Known Subclasses:
- DeprecationRule, EnforcementRule, RemovalRule, ReplacementRule, RetentionRule
- public class Rule
- extends java.lang.Object
- implements ProjectQualifier
Is the base class of all exceptional rules used to decide which artifacts and
versions to track in the dependency recursion.
- Author:
- Matthias Burbach
Constructor Summary |
Rule()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rule
public Rule()
getArtifactId
public java.lang.String getArtifactId()
- Specified by:
getArtifactId
in interface ProjectQualifier
- Returns:
- Returns the artifactId.
setArtifactId
public void setArtifactId(java.lang.String artifactId)
- Parameters:
artifactId
- The artifactId to set.
getGroupId
public java.lang.String getGroupId()
- Specified by:
getGroupId
in interface ProjectQualifier
- Returns:
- Returns the groupId.
setGroupId
public void setGroupId(java.lang.String groupId)
- Parameters:
groupId
- The groupId to set.
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface ProjectQualifier
- Returns:
- Returns the version.
setVersion
public void setVersion(java.lang.String version)
- Parameters:
version
- The version to set.
isDerived
public boolean isDerived()
- Returns:
- Whether this rule was created by some derivation mechanism, like
the import of some project's dependencies as enforcement rules,
for example.
setDerived
public void setDerived(boolean derived)
- Parameters:
derived
- Whether this rule was created by some derivation
mechanism, like the import of some project's dependencies
as enforcement rules, for example.
Copyright © 2005-2007 . All Rights Reserved.