Tabnine Logo
AbstractMojoTestCase.getVariableValueFromObject
Code IndexAdd Tabnine to your IDE (free)

How to use
getVariableValueFromObject
method
in
org.apache.maven.plugin.testing.AbstractMojoTestCase

Best Java code snippets using org.apache.maven.plugin.testing.AbstractMojoTestCase.getVariableValueFromObject (Showing top 2 results out of 315)

origin: org.apache.maven.plugin-testing/maven-plugin-testing-harness

/**
 * Convenience method to obtain the value of a variable on a mojo that might not have a getter.
 *
 * NOTE: the caller is responsible for casting to to what the desired type is.
 *
 * @param object
 * @param variable
 * @return object value of variable
 * @throws IllegalArgumentException
 */
public Object getVariableValueFromObject( Object object, String variable )
  throws IllegalAccessException
{
  return testCase.getVariableValueFromObject( object, variable );
}
origin: com.simpligility.org.apache.maven.plugin-testing/maven-plugin-testing-harness

/**
 * Convenience method to obtain the value of a variable on a mojo that might not have a getter.
 *
 * NOTE: the caller is responsible for casting to to what the desired type is.
 *
 * @param object
 * @param variable
 * @return object value of variable
 * @throws IllegalArgumentException
 */
public Object getVariableValueFromObject( Object object, String variable )
  throws IllegalAccessException
{
  return testCase.getVariableValueFromObject( object, variable );
}
org.apache.maven.plugin.testingAbstractMojoTestCasegetVariableValueFromObject

Javadoc

Convenience method to obtain the value of a variable on a mojo that might not have a getter. NOTE: the caller is responsible for casting to to what the desired type is.

Popular methods of AbstractMojoTestCase

  • setUp
  • tearDown
  • getContainer
  • lookupMojo
    lookup the mojo while we have all of the relavent information
  • assertNotNull
  • configureMojo
    Configure the mojo with the given plexus configuration
  • extractPluginConfiguration
  • fail
  • finalizeMojoConfiguration
  • getBasedir
  • getPluginDescriptorLocation
  • getPluginDescriptorPath
  • getPluginDescriptorLocation,
  • getPluginDescriptorPath,
  • getPublicDescriptorStream,
  • getVariablesAndValuesFromObject,
  • lookup,
  • lookupConfiguredMojo,
  • lookupEmptyMojo,
  • newMavenSession,
  • newMojoExecution

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JList (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now