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, ",");
}
use of org.codehaus.jackson.annotate.JsonIgnore in project OpenAttestation by OpenAttestation.
the class Certificate method getX509Certificate.
@JsonIgnore
@Override
public X509Certificate getX509Certificate() {
if (certificate == null) {
return null;
}
try {
log.debug("Certificate bytes length {}", certificate.length);
log.info("Certificate bytes length {}", certificate.length);
return X509Util.decodeDerCertificate(certificate);
} catch (CertificateException e) {
// throw new ASException(ce, ErrorCode.MS_CERTIFICATE_ENCODING_ERROR, ce.getClass().getSimpleName());
throw new X509CertificateFormatException(e, certificate);
}
}
use of org.codehaus.jackson.annotate.JsonIgnore in project OpenAttestation by OpenAttestation.
the class Configuration method setXmlContent.
@JsonIgnore
public void setXmlContent(String xmlContent) throws IOException {
Properties p = new Properties();
p.loadFromXML(new ByteArrayInputStream(xmlContent.getBytes()));
// only set it if we were able to deserialize; if there is an error during loadFromXml then we retain the previous content
content = p;
}
use of org.codehaus.jackson.annotate.JsonIgnore in project OpenAttestation by OpenAttestation.
the class Configuration method getXmlContent.
@JsonIgnore
public String getXmlContent() throws IOException {
ByteArrayOutputStream out = new ByteArrayOutputStream();
content.storeToXML(out, name);
return out.toString();
}
use of org.codehaus.jackson.annotate.JsonIgnore in project motech by motech.
the class SettingsDto method getTaskRetriesProps.
@JsonIgnore
public Properties getTaskRetriesProps() {
Properties props = new Properties();
props.putAll(this.taskRetries);
return props;
}
Aggregations