use of org.codehaus.jackson.annotate.JsonIgnore in project coprhd-controller by CoprHD.
the class DbConsistencyStatus method init.
@JsonIgnore
public void init() {
this.startTime = new Date();
this.endTime = null;
this.status = Status.IN_PROGRESS;
this.workingPoint = null;
this.progress = 0;
this.inconsistencyCount = 0;
this.checkedCount = 0;
this.checkType = null;
}
use of org.codehaus.jackson.annotate.JsonIgnore in project coprhd-controller by CoprHD.
the class DbConsistencyStatus method markResult.
@JsonIgnore
public void markResult(Status status) {
this.endTime = new Date();
this.status = status;
}
use of org.codehaus.jackson.annotate.JsonIgnore in project motech by motech.
the class EntityInfo method getRestFieldInfos.
@JsonIgnore
public List<FieldInfo> getRestFieldInfos() {
List<FieldInfo> nonAuto = new ArrayList<>(fieldsInfo);
CollectionUtils.filter(nonAuto, new Predicate() {
@Override
public boolean evaluate(Object object) {
return ((FieldInfo) object).isRestExposed();
}
});
return nonAuto;
}
use of org.codehaus.jackson.annotate.JsonIgnore in project motech by motech.
the class EntityInfo method getNonAutoFieldInfos.
@JsonIgnore
public List<FieldInfo> getNonAutoFieldInfos() {
List<FieldInfo> nonAuto = new ArrayList<>(fieldsInfo);
CollectionUtils.filter(nonAuto, new Predicate() {
@Override
public boolean evaluate(Object object) {
return !((FieldInfo) object).isAutoGenerated();
}
});
return nonAuto;
}
use of org.codehaus.jackson.annotate.JsonIgnore in project pinot by linkedin.
the class SegmentGeneratorConfig method getQualifyingDimensions.
/**
* Returns a comma separated list of qualifying dimension name strings
* @param type FieldType to filter on
* @return
*/
@JsonIgnore
private String getQualifyingDimensions(FieldType type) {
List<String> dimensions = new ArrayList<>();
for (final FieldSpec spec : getSchema().getAllFieldSpecs()) {
if (spec.getFieldType() == type) {
dimensions.add(spec.getName());
}
}
Collections.sort(dimensions);
return StringUtils.join(dimensions, ",");
}
Aggregations