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