Griffon 1.2.0

org.codehaus.griffon.artifacts.model
[Groovy] Class Release

java.lang.Object
  org.codehaus.griffon.artifacts.model.Release
All Implemented Interfaces:
Comparable

class Release

Authors:
Andres Almiray
Since:
0.9.5


Field Summary
private static Comparator VERSION_COMPARATOR

 
Property Summary
Artifact artifact

String checksum

String comment

Date date

List dependencies

File file

String griffonVersion

String version

 
Constructor Summary
Release()

 
Method Summary
Map asMap()

int compareTo(Release other)

boolean isSnapshot()

static Release makeFromFile(String type, File file)

static Release makeFromJSON(String type, def json)

static Release makeFromXML(String type, def xml)

def toJSON()

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

VERSION_COMPARATOR

private static final Comparator VERSION_COMPARATOR


 
Property Detail

artifact

Artifact artifact


checksum

String checksum


comment

String comment


date

Date date


dependencies

List dependencies


file

File file


griffonVersion

String griffonVersion


version

String version


 
Constructor Detail

Release

Release()


 
Method Detail

asMap

Map asMap()


compareTo

int compareTo(Release other)


isSnapshot

boolean isSnapshot()


makeFromFile

static Release makeFromFile(String type, File file)


makeFromJSON

static Release makeFromJSON(String type, def json)


makeFromXML

static Release makeFromXML(String type, def xml)


toJSON

def toJSON()


toString

String toString()


 

Groovy Documentation