예제 #1
0
  public Set<DependencyMaterialConfig> getSchedulableDependencyMaterials() {
    HashSet<DependencyMaterialConfig> dependencyMaterials = new HashSet<>();

    for (MaterialConfig materialConfig : getSchedulableMaterials()) {
      if (materialConfig instanceof DependencyMaterialConfig) {
        dependencyMaterials.add((DependencyMaterialConfig) materialConfig);
      }
    }

    return dependencyMaterials;
  }
예제 #2
0
  public Set<MaterialConfig> getSchedulableSCMMaterials() {
    HashSet<MaterialConfig> scmMaterials = new HashSet<>();

    for (MaterialConfig materialConfig : getSchedulableMaterials()) {
      if (!(materialConfig instanceof DependencyMaterialConfig)) {
        scmMaterials.add(materialConfig);
      }
    }

    return scmMaterials;
  }