Class GroovyPuzzlePropertyAdapter

java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
games.stendhal.server.entity.mapstuff.puzzle.GroovyPuzzlePropertyAdapter
All Implemented Interfaces:
groovy.lang.GroovyObject

public abstract class GroovyPuzzlePropertyAdapter extends groovy.lang.Script
provides property information to groovy scripts.
Author:
hendrik
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    gets a property

    Methods inherited from class groovy.lang.Script

    evaluate, evaluate, getBinding, invokeMethod, print, printf, printf, println, println, run, run, setBinding, setProperty

    Methods inherited from class groovy.lang.GroovyObjectSupport

    getMetaClass, setMetaClass

    Methods inherited from class java.lang.Object

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

    • GroovyPuzzlePropertyAdapter

      public GroovyPuzzlePropertyAdapter()
  • Method Details

    • getProperty

      public Object getProperty(String name)
      gets a property
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
      Overrides:
      getProperty in class groovy.lang.Script
      Parameters:
      name - of property
      Returns:
      value of property