X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=webservices%2Fcompbio%2Fws%2Fserver%2FGenericMetadataService.java;h=4defd8939d9debab50908009de4f74178ce8c10c;hb=bd6c0919476cff487ea479588d5ad9f3bdd5af1e;hp=1c378c72cd3382b7a7671f7631bef7a5eed464c0;hpb=61af8ce2cea02220228f58b30b4319f500b2f040;p=jabaws.git diff --git a/webservices/compbio/ws/server/GenericMetadataService.java b/webservices/compbio/ws/server/GenericMetadataService.java index 1c378c7..4defd89 100644 --- a/webservices/compbio/ws/server/GenericMetadataService.java +++ b/webservices/compbio/ws/server/GenericMetadataService.java @@ -1,3 +1,20 @@ +/* Copyright (c) 2011 Peter Troshin + * + * JAva Bioinformatics Analysis Web Services (JABAWS) @version: 2.0 + * + * This library is free software; you can redistribute it and/or modify it under the terms of the + * Apache License version 2 as published by the Apache Software Foundation + * + * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without + * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache + * License for more details. + * + * A copy of the license is in apache_license.txt. It is also available here: + * @see: http://www.apache.org/licenses/LICENSE-2.0.txt + * + * Any republication or derived work distributed in source code form + * must include this copyright and license notice. + */ package compbio.ws.server; import java.util.List; @@ -36,11 +53,8 @@ public abstract class GenericMetadataService { this.log = log; this.exec = exec; this.limitMan = compbio.engine.client.Util.getLimits(exec.getType()); - this.aaconOptions = Util - .getSupportedOptions((Class>) exec - .getType()); - this.aaconPresets = Util - .getPresets((Class>) exec.getType()); + this.aaconOptions = Util.getSupportedOptions((Class>) exec.getType()); + this.aaconPresets = Util.getPresets((Class>) exec.getType()); } ConfiguredExecutable init(List sequences) @@ -96,11 +110,10 @@ public abstract class GenericMetadataService { * * @param jobId * @param position - * @return + * @return ChunkHolder */ public ChunkHolder pullExecStatistics(String jobId, long position) { // Execution stat is not supported return new ChunkHolder("", -1); } - }