@Override public Map<String, Object> getAttributes(boolean addSecureFields) { Map<String, Object> materialMap = new HashMap<>(); materialMap.put("type", "pipeline"); Map<String, Object> configurationMap = new HashMap<>(); configurationMap.put("pipeline-name", pipelineName.toString()); configurationMap.put("stage-name", stageName.toString()); materialMap.put("pipeline-configuration", configurationMap); return materialMap; }
public boolean isAdministrator(CaseInsensitiveString username) { return isAdministrator(username.toString()); }
@Override public String getDisplayName() { CaseInsensitiveString name = getName(); return (name == null || name.isBlank()) ? getUriForDisplay() : name.toString(); }