Esempio n. 1
0
 @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;
 }
Esempio n. 2
0
 public boolean isAdministrator(CaseInsensitiveString username) {
   return isAdministrator(username.toString());
 }
Esempio n. 3
0
 @Override
 public String getDisplayName() {
   CaseInsensitiveString name = getName();
   return (name == null || name.isBlank()) ? getUriForDisplay() : name.toString();
 }