Search in sources :

Example 11 with JsonIgnore

use of org.codehaus.jackson.annotate.JsonIgnore in project motech by motech.

the class SettingsDto method getAdditionalProps.

@JsonIgnore
public Properties getAdditionalProps() {
    Properties props = new Properties();
    props.putAll(this.additionalProperties);
    return props;
}
Also used : Properties(java.util.Properties) JsonIgnore(org.codehaus.jackson.annotate.JsonIgnore)

Example 12 with JsonIgnore

use of org.codehaus.jackson.annotate.JsonIgnore in project coprhd-controller by CoprHD.

the class OrderJobStatus method toOrderJobInfo.

@JsonIgnore
public OrderJobInfo toOrderJobInfo() {
    OrderJobInfo info = new OrderJobInfo();
    info.setTotal(total);
    info.setStartTime(startTime);
    info.setEndTime(endTime);
    info.setCompleted(getCompletedNumber());
    info.setFailed(getFailed());
    info.setTimeUsedPerOrder(timeUsedPerOrder);
    info.setTids(Collections.unmodifiableList(tids));
    return info;
}
Also used : OrderJobInfo(com.emc.vipr.model.catalog.OrderJobInfo) JsonIgnore(org.codehaus.jackson.annotate.JsonIgnore)

Aggregations

JsonIgnore (org.codehaus.jackson.annotate.JsonIgnore)12 ArrayList (java.util.ArrayList)3 Properties (java.util.Properties)3 Date (java.util.Date)2 Predicate (org.apache.commons.collections.Predicate)2 OrderJobInfo (com.emc.vipr.model.catalog.OrderJobInfo)1 DiagutilInfo (com.emc.vipr.model.sys.diagutil.DiagutilInfo)1 X509CertificateFormatException (com.intel.mtwilson.util.x509.X509CertificateFormatException)1 FieldSpec (com.linkedin.pinot.common.data.FieldSpec)1 TimeFieldSpec (com.linkedin.pinot.common.data.TimeFieldSpec)1 ByteArrayInputStream (java.io.ByteArrayInputStream)1 ByteArrayOutputStream (java.io.ByteArrayOutputStream)1 CertificateException (java.security.cert.CertificateException)1