类 FixNameStrategy

java.lang.Object
com.obermuhlner.scriptengine.java.name.FixNameStrategy
所有已实现的接口:
NameStrategy

public class FixNameStrategy extends Object implements NameStrategy
A NameStrategy implementation that returns a fixed name.
  • 字段详细资料

    • fullName

      private final String fullName
  • 构造器详细资料

    • FixNameStrategy

      public FixNameStrategy(String fullName)
      Constructs a FixNameStrategy with the specified fully qualified name.
      参数:
      fullName - the fully qualified class name to return
  • 方法详细资料

    • getFullName

      public String getFullName(String script)
      从接口复制的说明: NameStrategy
      Returns the fully qualified name of the Java class in the specified script.
      指定者:
      getFullName 在接口中 NameStrategy
      参数:
      script - the Java script
      返回:
      the fully qualified class name