public class ChangeInfoMapper extends java.lang.Object implements com.google.common.base.Function<ChangeJson.ChangeInfo,com.google.gerrit.extensions.common.ChangeInfo>
Modifier and Type | Field and Description |
---|---|
static ChangeInfoMapper |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.common.ChangeInfo |
apply(ChangeJson.ChangeInfo i) |
static com.google.gerrit.reviewdb.client.Change.Status |
changeStatus2Status(com.google.gerrit.extensions.common.ChangeStatus status) |
public static final ChangeInfoMapper INSTANCE
public static com.google.gerrit.reviewdb.client.Change.Status changeStatus2Status(com.google.gerrit.extensions.common.ChangeStatus status)
public com.google.gerrit.extensions.common.ChangeInfo apply(ChangeJson.ChangeInfo i)
apply
in interface com.google.common.base.Function<ChangeJson.ChangeInfo,com.google.gerrit.extensions.common.ChangeInfo>