Class SampleContext

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      SampleContext()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final File getWorkingDirectory() Return the root directory that consumers are authorized to use for intermediate work.
      final void setWorkingDirectory(File workingDirectory) Sets the work directory.
      final Map<String, Object> getData() Gets the data storage.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SampleContext

        SampleContext()
    • Method Detail

      • getWorkingDirectory

         final File getWorkingDirectory()

        Return the root directory that consumers are authorized to use for intermediate work. SampleConsumers are encourage to create their own work directories beneath this root work directory

        Returns:

        A file pointing to an existing directory

      • setWorkingDirectory

         final void setWorkingDirectory(File workingDirectory)

        Sets the work directory.

        Parameters:
        workingDirectory - the new working directory