001package com.hfg.bio.seq.alignment.blast; 002 003 004//============================================================================== 005/** 006 Container for BLAST search output. 007 <div> 008 @author J. Alex Taylor, hairyfatguy.com 009 </div> 010 */ 011//============================================================================== 012// com.hfg XML/HTML Coding Library 013// 014// This library is free software; you can redistribute it and/or 015// modify it under the terms of the GNU Lesser General Public 016// License as published by the Free Software Foundation; either 017// version 2.1 of the License, or (at your option) any later version. 018// 019// This library is distributed in the hope that it will be useful, 020// but WITHOUT ANY WARRANTY; without even the implied warranty of 021// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 022// Lesser General Public License for more details. 023// 024// You should have received a copy of the GNU Lesser General Public 025// License along with this library; if not, write to the Free Software 026// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 027// 028// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com 029// jataylor@hairyfatguy.com 030//============================================================================== 031 032public class BLAST_Output 033{ 034 private Integer mExitStatus; 035 private String mStdErr; 036 private String mStdOut; 037 private String mExecutedCmd; 038 039 040 //########################################################################### 041 // PUBLIC METHODS 042 //########################################################################### 043 044 //--------------------------------------------------------------------------- 045 public BLAST_Output setExitStatus(Integer inValue) 046 { 047 mExitStatus = inValue; 048 return this; 049 } 050 051 //--------------------------------------------------------------------------- 052 public Integer getExitStatus() 053 { 054 return mExitStatus; 055 } 056 057 058 //--------------------------------------------------------------------------- 059 public BLAST_Output setStdErr(String inValue) 060 { 061 mStdErr = inValue; 062 return this; 063 } 064 065 //--------------------------------------------------------------------------- 066 public String getStdErr() 067 { 068 return mStdErr; 069 } 070 071 072 //--------------------------------------------------------------------------- 073 public BLAST_Output setStdOut(String inValue) 074 { 075 mStdOut = inValue; 076 return this; 077 } 078 079 //--------------------------------------------------------------------------- 080 public String getStdOut() 081 { 082 return mStdOut; 083 } 084 085 086 //--------------------------------------------------------------------------- 087 public BLAST_Output setExecutedCmd(String inValue) 088 { 089 mExecutedCmd = inValue; 090 return this; 091 } 092 093 //--------------------------------------------------------------------------- 094 public String getExecutedCmd() 095 { 096 return mExecutedCmd; 097 } 098 099}