Class RunData


  • public class RunData
    extends Object
    This class define a run data.
    Since:
    3.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • RunData

        protected RunData()
        Constructor for Gson
    • Method Detail

      • getRunId

        public RunId getRunId()
        Get run Id.
        Returns:
        the run id
      • getSource

        public SequencerSource getSource()
        Get the source of the data (e.g. the sequencer name).
        Returns:
        the source of the data
      • getType

        public DataType getType()
        Get the type of the data.
        Returns:
        the type of the data
      • getLocation

        public DataLocation getLocation()
        Get the location of the data.
        Returns:
        the location of the data
      • newRunId

        public RunData newRunId​(RunId runId)
        Create a new RunData object from the current object with a new run Id.
        Parameters:
        runId - the new run id
        Returns:
        a new RunData object
      • newLocation

        public RunData newLocation​(DataLocation location)
        Create a new RunData object from the current object with a new location.
        Parameters:
        location - the new location
        Returns:
        a new RunData object
      • newType

        public RunData newType​(DataType type)
        Create a new RunData object from the current object with a new type.
        Parameters:
        type - the new type
        Returns:
        a new RunData object
      • newCategory

        public RunData newCategory​(DataType.Category category)
        Create a new RunType object from the current object with a new category.
        Parameters:
        category - the new category
        Returns:
        a new RunType object
      • newTechnology

        public RunData newTechnology​(DataType.SequencingTechnology technology)
        Create a new RunType object from the current object with a new technology.
        Parameters:
        technology - the new technology
        Returns:
        a new RunType object
      • newType

        public RunData newType​(String type)
        Create a new RunType object from the current object with a new type.
        Parameters:
        type - the new type
        Returns:
        a new RunType object
      • setPartialData

        public RunData setPartialData​(boolean partialData)
        Create a new RunType object from the current object with a new partial data setting.
        Parameters:
        partialData - the new partial data value
        Returns:
        a new RunType object
      • setLogOnly

        public RunData setLogOnly​(boolean logOnly)
        Create a new RunType object from the current object with a new log only setting.
        Parameters:
        logOnly - the new log only value
        Returns:
        a new RunType object