public class ChangeJson
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ChangeJson.AssistedFactory |
static class |
ChangeJson.Factory |
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableSet<ListChangesOption> |
REQUIRE_LAZY_LOAD |
static SubmitRuleOptions |
SUBMIT_RULE_OPTIONS_LENIENT |
static SubmitRuleOptions |
SUBMIT_RULE_OPTIONS_STRICT |
public static final SubmitRuleOptions SUBMIT_RULE_OPTIONS_LENIENT
public static final SubmitRuleOptions SUBMIT_RULE_OPTIONS_STRICT
public static final com.google.common.collect.ImmutableSet<ListChangesOption> REQUIRE_LAZY_LOAD
public ChangeJson lazyLoad(boolean load)
public ChangeJson fix(FixInput fix)
public void setPluginDefinedAttributesFactory(PluginDefinedAttributesFactory pluginsFactory)
public ChangeInfo format(ChangeResource rsrc) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public ChangeInfo format(Change change) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public ChangeInfo format(Project.NameKey project, Change.Id id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public ChangeInfo format(ChangeData cd) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public ChangeInfo format(RevisionResource rsrc) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<java.util.List<ChangeInfo>> formatQueryResults(java.util.List<com.google.gerrit.index.query.QueryResult<ChangeData>> in) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeInfo> formatChangeDatas(java.util.Collection<ChangeData> in) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public static ApprovalInfo getApprovalInfo(Account.Id id, java.lang.Integer value, VotingRangeInfo permittedVotingRange, java.lang.String tag, java.sql.Timestamp date)
public RevisionInfo getRevisionInfo(ChangeData cd, PatchSet in) throws PatchListNotAvailableException, GpgException, com.google.gwtorm.server.OrmException, java.io.IOException, PermissionBackendException
PatchListNotAvailableException
GpgException
com.google.gwtorm.server.OrmException
java.io.IOException
PermissionBackendException
public static void populateFetchMap(DownloadScheme scheme, DynamicMap<DownloadCommand> commands, java.lang.String projectName, java.lang.String refName, FetchInfo fetchInfo)