Simulating static final class stuff in beanshell...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Simulating static final class stuff in beanshell...

Furash Gary
Message
I'd like to have "things" that are like static final classes in plain old java.  e.g.,
 
static Final Class DatabaseList {
  static final String CONST_1 = "a";
   static final String CONST_1 = "a";
}
 
then get them into my script with something like an importCommands("");
 
But, I don't think beanshell supports static and doesnt' seem to like final without a variable type.
 
Gary Furash, Applications Manager, Maricopa County Attorney's Office