IMPORT directive

Groovy automatically imports the following packages and classes.
  java.io.*
  java.lang.*
  java.math.BigDecimal
  java.math.BigInteger
  java.net.*
  java.util.*
  groovy.lang.*
  groovy.util.*

Groovy conditions and actions might need to call methods on classes that are not automatically imported.

An IMPORT directive takes the following form:

IMPORT importStatement;

The IMPORT directive is not case-sensitive, and zero, one or many such directives can be specified. The importStatement is any valid package, class, or import statement that is supported by Groovy.

It is often useful to import com.telelogic.cm.migrate.MigrateObject. That class represents a potential Rational® Synergy object, or in the case of an incremental migrate, it might also represent an existing unchanged Rational Synergy object. For example:

IMPORT com.telelogic.cm.migrate.MigrateObject.;


Feedback