@Override public AxisList getDefaultValue() { return new AxisList(); } }
public DynamicBuildLayouter(AxisList axisList, DynamicBuild dynamicBuild) { super(axisList == null ? new AxisList() : axisList); this.axisList = axisList; this.dynamicBuild = dynamicBuild; }
@Override protected Object createCollection(Class type) { return new AxisList(); } }
@Override public AxisList getDefaultValue() { return new AxisList(); } }
@Override protected Object createCollection(Class type) { return new AxisList(); } }
@Override public AxisList getDefaultValue() { return new AxisList(); } }
@Override public AxisList getDefaultValue() { return new AxisList(); } }
@Override protected Object createCollection(Class type) { return new AxisList(); } }
@Override protected Object createCollection(Class type) { return new AxisList(); } }
@Override protected Object createCollection(Class type) { return new AxisList(); } }
/** * Creates a subset of the list that only contains the type assignable to the specified type. */ public AxisList subList(Class<? extends Axis> subType) { return new AxisList(Util.filter(this,subType)); }
/** * Creates a subset of the list that only contains the type assignable to the specified type. */ public AxisList subList(Class<? extends Axis> subType) { return new AxisList(Util.filter(this,subType)); }
/** * Creates a subset of the list that only contains the type assignable to the specified type. */ public AxisList subList(Class<? extends Axis> subType) { return new AxisList(Util.filter(this,subType)); }
/** * Creates a subset of the list that only contains the type assignable to * the specified type. */ public AxisList subList(Class<? extends Axis> subType) { return new AxisList(Util.filter(this, subType)); }
/** * Creates a subset of the list that only contains the type assignable to the specified type. */ public AxisList subList(Class<? extends Axis> subType) { return new AxisList(Util.filter(this,subType)); }
public Iterable<Combination> list() { return axisList == null ? new AxisList().list() : axisList.list(); } }
public AxisList getAxisList() { final String dockerComposeContainerName = getOnlyRun(); AxisList axisList = new AxisList(new Axis("script", dockerComposeContainerName)); if (isParallelized()) { final Set commandKeys = this.config.keySet(); axisList = new AxisList(new Axis("script", new ArrayList<>(commandKeys))); } return axisList; }
/** * Reconfigures axes. */ public void setAxes(AxisList axes) throws IOException { this.axes = new AxisList(axes); rebuildConfigurations(null); save(); }
@Override public Object decode(Class targetClass, Object fromDBObject, MappedField optionalExtraInfo) { if (fromDBObject == null) return null; BasicDBList rawList = (BasicDBList) fromDBObject; AxisList axisList = new AxisList(); for (Object obj : rawList) { DBObject dbObj = (DBObject) obj; axisList.add((Axis) getMapper().fromDBObject(optionalExtraInfo.getSubClass(), dbObj, getMapper().createEntityCache())); } return axisList; }
@Before public void setUp() throws Exception { repo = tmp.getRoot(); createPretendSlave("slave_one"); createPretendSlave("slave_two"); matrixProject = j.createProject(MatrixProject.class, "matrix_test"); matrixProject.setScm(new MercurialSCM(null, repo.getPath(), null, null, null, null, false)); matrixProject.setAxes(new AxisList(new LabelAxis("label", Arrays.asList("slave_one", "slave_two")))); // TODO switch to MercurialContainer m.hg(repo, "init"); m.touchAndCommit(repo, "a"); }