public class ComposerPackage extends DistributedPackage
JsonEntity.fromJson(java.lang.Object) / #fromPackagist for details.http://getcomposer.orgautoload, detailedVersion, dist, sourcepropertieschangeSupport| Constructor and Description |
|---|
ComposerPackage() |
ComposerPackage(File file) |
ComposerPackage(Object json) |
ComposerPackage(Reader reader) |
ComposerPackage(String json) |
| Modifier and Type | Method and Description |
|---|---|
Persons |
getAuthors()
Returns the authors
|
JsonArray |
getBin()
Returns the
bin collection. |
Config |
getConfig()
Returns the config entity
|
Extra |
getExtra()
Returns the extra entity
|
String |
getHomepage()
Returns the homepage
|
JsonArray |
getKeywords()
Returns the keywords
|
License |
getLicense()
Returns the license section
|
String |
getMinimumStability()
Returns the minimum-stability property
|
protected List<String> |
getOwnProperties() |
Repositories |
getRepositories() |
Dependencies |
getRequire()
Returns the require dependencies
|
Dependencies |
getRequireDev()
Returns the require-dev dependencies
|
Scripts |
getScripts()
Returns the scripts entity
|
Support |
getSupport()
Returns the support section
|
String |
getTargetDir()
Returns the target-dir
|
String |
getVersionNormalized()
Returns the normalized version
|
protected void |
parse(Object obj) |
Object |
prepareJson(LinkedList<String> fields) |
void |
setHomepage(String homepage)
Sets the homepage
|
void |
setMinimumStability(String minimumStability)
Sets the minimum-stability property
|
void |
setTargetDir(String targetDir)
Sets the target-dir
|
String |
toString() |
getAutoload, getDist, getSource, getType, setTypeclone, getDetailedVersion, getVersion, setVersiongetDescription, getName, setDescription, setNamecloneProperties, getAsArray, getAsBoolean, getAsFloat, getAsInteger, getAsObject, getAsRaw, getAsString, initialize, is, isArray, isObject, setclear, get, has, parseField, parseValue, remove, set, sizefromJson, fromJson, fromJson, fromJson, getFieldByName, getFieldName, getFields, listen, prepareJsonValue, toJsonaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerpublic ComposerPackage()
public ComposerPackage(Object json)
public ComposerPackage(String json)
public ComposerPackage(File file) throws IOException
IOExceptionpublic ComposerPackage(Reader reader) throws IOException
IOExceptionprotected void parse(Object obj)
parse in class DistributedPackagepublic Object prepareJson(LinkedList<String> fields)
prepareJson in class DistributedPackageprotected List<String> getOwnProperties()
getOwnProperties in class AbstractJsonObject<JsonValue>public String getHomepage()
public void setHomepage(String homepage)
homepage - the homepage to setpublic Dependencies getRequire()
public Dependencies getRequireDev()
public String getTargetDir()
public void setTargetDir(String targetDir)
targetDir - the target-dir to setpublic String getVersionNormalized()
public License getLicense()
public JsonArray getKeywords()
public String getMinimumStability()
public void setMinimumStability(String minimumStability)
minimumStability - the minimum-stability to setpublic Persons getAuthors()
public Support getSupport()
public Repositories getRepositories()
public Extra getExtra()
public Config getConfig()
public Scripts getScripts()
public JsonArray getBin()
bin collection.bin collectionCopyright © 2013. All Rights Reserved.