org.apache.tinkerpop.gremlin.jsr223

## Class DefaultScriptCustomizer

- java.lang.Object
- - org.apache.tinkerpop.gremlin.jsr223.DefaultScriptCustomizer

- All Implemented Interfaces:
    Customizer, ScriptCustomizer

      public class DefaultScriptCustomizer
      extends Object
      implements ScriptCustomizer

  Default implementation of the `ScriptCustomizer` that can create the script list from a list of files or from lines of script.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultScriptCustomizer(Collection<List<String>> scripts)`
    `DefaultScriptCustomizer(List<File> files)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<List<String>>` | `getScripts()` Gets a collection of scripts where each is represented as a list of script lines.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultScriptCustomizer

          public DefaultScriptCustomizer(List<File> files)

    - #### DefaultScriptCustomizer

          public DefaultScriptCustomizer(Collection<List<String>> scripts)

  - ### Method Detail

    - #### getScripts

          public Collection<List<String>> getScripts()

      Description copied from interface: `ScriptCustomizer`
      Gets a collection of scripts where each is represented as a list of script lines.
      Specified by:
        `getScripts` in interface `ScriptCustomizer`

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.