public class RepositoryImpl
extends java.lang.Object
implements com.jfrog.bintray.client.api.model.Repository
| Constructor and Description |
|---|
RepositoryImpl() |
RepositoryImpl(com.jfrog.bintray.client.api.details.RepositoryDetails repositoryDetails) |
RepositoryImpl(java.lang.String name,
java.lang.String owner,
java.lang.String type,
java.lang.Boolean isPrivate,
java.lang.Boolean premium,
java.lang.String desc,
java.util.List<java.lang.String> labels,
org.joda.time.DateTime created,
java.lang.Integer packageCount) |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getCreated() |
static java.lang.String |
getCreateJson(com.jfrog.bintray.client.api.details.RepositoryDetails repositoryDetails) |
java.lang.String |
getDesc() |
java.lang.Object |
getFieldByKey(java.lang.String key) |
java.util.List<java.lang.String> |
getLabels() |
java.lang.String |
getName() |
java.lang.String |
getOwner() |
java.lang.Integer |
getPackageCount() |
java.lang.String |
getType() |
static java.lang.String |
getUpdateJson(com.jfrog.bintray.client.api.details.RepositoryDetails repositoryDetails)
PATCH repo only accepts description and label updates, name is needed for URL creation, because of the special
ignore and property structure of the RepositoryDetails class this method just uses a json generator to write
the update json.
|
java.lang.Boolean |
isPremium() |
java.lang.Boolean |
isPrivate() |
public RepositoryImpl()
public RepositoryImpl(com.jfrog.bintray.client.api.details.RepositoryDetails repositoryDetails)
public RepositoryImpl(java.lang.String name,
java.lang.String owner,
java.lang.String type,
java.lang.Boolean isPrivate,
java.lang.Boolean premium,
java.lang.String desc,
java.util.List<java.lang.String> labels,
org.joda.time.DateTime created,
java.lang.Integer packageCount)
public static java.lang.String getCreateJson(com.jfrog.bintray.client.api.details.RepositoryDetails repositoryDetails)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String getUpdateJson(com.jfrog.bintray.client.api.details.RepositoryDetails repositoryDetails)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getName()
getName in interface com.jfrog.bintray.client.api.model.Repositorypublic java.lang.String getOwner()
getOwner in interface com.jfrog.bintray.client.api.model.Repositorypublic java.lang.String getType()
getType in interface com.jfrog.bintray.client.api.model.Repositorypublic java.lang.Boolean isPrivate()
isPrivate in interface com.jfrog.bintray.client.api.model.Repositorypublic java.lang.Boolean isPremium()
isPremium in interface com.jfrog.bintray.client.api.model.Repositorypublic java.lang.String getDesc()
getDesc in interface com.jfrog.bintray.client.api.model.Repositorypublic java.util.List<java.lang.String> getLabels()
getLabels in interface com.jfrog.bintray.client.api.model.Repositorypublic org.joda.time.DateTime getCreated()
getCreated in interface com.jfrog.bintray.client.api.model.Repositorypublic java.lang.Integer getPackageCount()
getPackageCount in interface com.jfrog.bintray.client.api.model.Repositorypublic java.lang.Object getFieldByKey(java.lang.String key)
getFieldByKey in interface com.jfrog.bintray.client.api.model.Repository