public boolean isEmpty() { return data.isEmpty(); }
public boolean hasPromotion() { return !statuses.isEmpty(); }
public boolean isEmpty() { return data.isEmpty(); }
public boolean isEmpty() { return data.isEmpty(); }
@Override public boolean isApplicable(Class<? extends AbstractProject> aClass) { return profiles != null && !profiles.isEmpty(); }
public boolean isEmpty() { return data.isEmpty(); }
public boolean isEmpty() { return data.isEmpty(); }
public boolean isEmpty() { return data.isEmpty(); }
@Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); }
@Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); }
@Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); }
@Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); }
/** * List of all {@link JobProperty} exposed primarily for the remoting API. * List contains cascadable {@link JobProperty} if any. * @since 2.2.0 */ @Exported(name = "property", inline = true) public List<JobProperty<? super JobT>> getAllProperties() { CopyOnWriteList cascadingJobProperties = getCascadingJobProperties(); List<JobProperty<? super JobT>> result = properties.getView(); if (null != cascadingJobProperties && !cascadingJobProperties.isEmpty()) { result = Collections.unmodifiableList(ListUtils.union(result, cascadingJobProperties.getView())); } return result; }
/** * List of all {@link JobProperty} exposed primarily for the remoting API. * List contains cascadable {@link JobProperty} if any. * @since 2.2.0 */ @Exported(name = "property", inline = true) public List<JobProperty<? super JobT>> getAllProperties() { CopyOnWriteList cascadingJobProperties = getCascadingJobProperties(); List<JobProperty<? super JobT>> result = properties.getView(); if (null != cascadingJobProperties && !cascadingJobProperties.isEmpty()) { result = Collections.unmodifiableList(ListUtils.union(result, cascadingJobProperties.getView())); } return result; }
/** * List of all {@link JobProperty} exposed primarily for the remoting API. * List contains cascadable {@link JobProperty} if any. * @since 2.2.0 */ @Exported(name = "property", inline = true) @SuppressWarnings("unchecked") public List<JobProperty<? super JobT>> getAllProperties() { CopyOnWriteList cascadingJobProperties = getCascadingJobProperties(); List<JobProperty<? super JobT>> result = properties.getView(); if (null != cascadingJobProperties && !cascadingJobProperties.isEmpty()) { result = Collections.unmodifiableList(ListUtils.union(result, cascadingJobProperties.getView())); } return result; }
/** * List of all {@link JobProperty} exposed primarily for the remoting API. * List contains cascadable {@link JobProperty} if any. * * @since 2.2.0 */ @Exported(name = "property", inline = true) @SuppressWarnings("unchecked") public List<JobProperty<? super JobT>> getAllProperties() { CopyOnWriteList cascadingJobProperties = getCascadingJobProperties(); List<JobProperty<? super JobT>> result = properties.getView(); if (null != cascadingJobProperties && !cascadingJobProperties.isEmpty()) { result = Collections.unmodifiableList(ListUtils.union(result, cascadingJobProperties.getView())); } return result; }
/** * @return list of cascading {@link JobProperty} instances. Includes {@link ParametersDefinitionProperty} and * children of {@link JobProperty} from external plugins. */ @SuppressWarnings("unchecked") private CopyOnWriteList getCascadingJobProperties() { CopyOnWriteList result = new CopyOnWriteList(); CopyOnWriteList<ParametersDefinitionProperty> definitionProperties = getParameterDefinitionProperties(); if (null != cascadingJobProperties && !cascadingJobProperties.isEmpty()) { for (String key : cascadingJobProperties) { IProjectProperty projectProperty = CascadingUtil.getProjectProperty(this, key); Object value = projectProperty.getValue(); if (null != value) { result.add(value); } } } if (null != definitionProperties && !definitionProperties.isEmpty()) { result.addAll(definitionProperties.getView()); } return result; }
/** * @return list of cascading {@link JobProperty} instances. Includes {@link ParametersDefinitionProperty} and * children of {@link JobProperty} from external plugins. */ private CopyOnWriteList getCascadingJobProperties() { CopyOnWriteList result = new CopyOnWriteList(); CopyOnWriteList<ParametersDefinitionProperty> definitionProperties = getParameterDefinitionProperties(); if (null != cascadingJobProperties && !cascadingJobProperties.isEmpty()) { for (String key : cascadingJobProperties) { IProjectProperty projectProperty = CascadingUtil.getProjectProperty(this, key); Object value = projectProperty.getValue(); if (null != value) { result.add(value); } } } if (null != definitionProperties && !definitionProperties.isEmpty()) { result.addAll(definitionProperties.getView()); } return result; }
/** * @return list of cascading {@link JobProperty} instances. Includes {@link ParametersDefinitionProperty} and * children of {@link JobProperty} from external plugins. */ private CopyOnWriteList getCascadingJobProperties() { CopyOnWriteList result = new CopyOnWriteList(); CopyOnWriteList<ParametersDefinitionProperty> definitionProperties = getParameterDefinitionProperties(); if (null != cascadingJobProperties && !cascadingJobProperties.isEmpty()) { for (String key : cascadingJobProperties) { IProjectProperty projectProperty = CascadingUtil.getProjectProperty(this, key); Object value = projectProperty.getValue(); if (null != value) { result.add(value); } } } if (null != definitionProperties && !definitionProperties.isEmpty()) { result.addAll(definitionProperties.getView()); } return result; }
/** * @return list of cascading {@link JobProperty} instances. Includes * {@link ParametersDefinitionProperty} and children of {@link JobProperty} * from external plugins. */ @SuppressWarnings("unchecked") private CopyOnWriteList getCascadingJobProperties() { CopyOnWriteList result = new CopyOnWriteList(); CopyOnWriteList<ParametersDefinitionProperty> definitionProperties = getParameterDefinitionProperties(); if (null != cascadingJobProperties && !cascadingJobProperties.isEmpty()) { for (String key : cascadingJobProperties) { IProjectProperty projectProperty = CascadingUtil.getProjectProperty(this, key); if ((projectProperty != null) && (projectProperty.getValue() != null)) { result.add(projectProperty.getValue()); } } } if (null != definitionProperties && !definitionProperties.isEmpty()) { result.addAll(definitionProperties.getView()); } return result; }