pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
         * Build new Chunk instance. And add it to the associated SubmitJobBuilder.
         *
         * @return          associated SubmitJobBuilder
         * @exception   IllegalArgumentException in case collection of chunks already contain chunk with {@code chunk.getId()}
         */
Build new Chunk instance. And add it to the associated SubmitJobBuilder.
@return          associated SubmitJobBuilder
@exception   IllegalArgumentException in case collection of chunks already contain chunk with  chunk.getId()
Build new Chunk instance . And add it to the associated SubmitJobBuilder . @return associated SubmitJobBuilder @exception IllegalArgumentException in case collection of chunks already contain chunk with chunk . getId ()
public SubmitJobBuilder build() {
            Chunk newChunk = new Chunk(id, count, ncpus, mem, customResources);
            jobBuilder.addChunk(newChunk);
            return jobBuilder;
        }
public SubmitJobBuilder build ( ) { Chunk newChunk = new Chunk ( id , count , ncpus , mem , customResources ) ; jobBuilder . addChunk ( newChunk ) ; return jobBuilder ; }
Build new Chunk instance.
Build new Chunk instance .