public class Config extends JsonObject
http://getcomposer.org/doc/04-schema.md#configpropertieschangeSupport| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBinDir()
Returns the
bin-dir property. |
JsonArray |
getGithubProtocols()
Returns the
github-protocols property. |
boolean |
getNotifyOnInstall()
Sets the
notify-on-install property. |
Integer |
getProcessTimeout()
Returns the
process-timeout property. |
String |
getVendorDir()
Returns the
vendor-bin property. |
void |
setBinDir(String binDir)
Sets the
bin-dir property. |
void |
setGithubProtocols(JsonArray githubProtocols)
Sets the
github-protocols property. |
void |
setNotifyOnInstall(boolean notifyOnInstall)
Set the
notify-on-install property. |
void |
setProcessTimeout(int processTimeout)
Sets the
process-timeout property. |
void |
setVendorDir(String vendorDir)
Sets the
vendor-bin property. |
cloneProperties, getAsArray, getAsBoolean, getAsFloat, getAsInteger, getAsObject, getAsRaw, getAsString, initialize, is, isArray, isObject, setclear, get, getOwnProperties, has, parse, parseField, parseValue, prepareJson, remove, set, sizefromJson, fromJson, fromJson, fromJson, getFieldByName, getFieldName, getFields, listen, prepareJsonValue, toJsonaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerpublic String getVendorDir()
vendor-bin property.vendor-bin propertypublic void setVendorDir(String vendorDir)
vendor-bin property.vendorDir - the new vendor-bin valuepublic String getBinDir()
bin-dir property.bin-dir propertypublic void setBinDir(String binDir)
bin-dir property.binDir - the new bin-dir valuepublic Integer getProcessTimeout()
process-timeout property.process-timeout propertypublic void setProcessTimeout(int processTimeout)
process-timeout property.processTimeout - the new process-timeout valuepublic JsonArray getGithubProtocols()
github-protocols property. If this property
isn't present in the json, the default value
["git", "https", "http"] is returned.github-protocols propertypublic void setGithubProtocols(JsonArray githubProtocols)
github-protocols property.githubProtocols - the new github-protocols valuepublic boolean getNotifyOnInstall()
notify-on-install property. If this property
isn't present in the json, the default value true
is returned.notify-on-install propertypublic void setNotifyOnInstall(boolean notifyOnInstall)
notify-on-install property.notifyOnInstall - the new notify-on-install valueCopyright © 2013. All Rights Reserved.