info.magnolia.module.model
Class DependencyDefinition

java.lang.Object
  extended by info.magnolia.module.model.DependencyDefinition

public class DependencyDefinition
extends Object

Models a dependency between modules.


Constructor Summary
DependencyDefinition()
           
DependencyDefinition(String name, String version, boolean optional)
           
 
Method Summary
 String getName()
           
 String getVersion()
           
 VersionRange getVersionRange()
           
 boolean isOptional()
           
 void setName(String name)
           
 void setOptional(boolean optional)
           
 void setVersion(String version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DependencyDefinition

public DependencyDefinition()

DependencyDefinition

public DependencyDefinition(String name,
                            String version,
                            boolean optional)
Method Detail

getVersionRange

public VersionRange getVersionRange()

getName

public String getName()

setName

public void setName(String name)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

isOptional

public boolean isOptional()

setOptional

public void setOptional(boolean optional)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.