Class Jmod.ResolutionWarningSpec

java.lang.Object
org.apache.tools.ant.taskdefs.modules.Jmod.ResolutionWarningSpec
Enclosing class:
Jmod

public class Jmod.ResolutionWarningSpec
extends java.lang.Object
Child element which enables jmod tool warnings. 'reason' attribute is required.
  • Constructor Summary

    Constructors 
    Constructor Description
    ResolutionWarningSpec()
    Creates an uninitialized element.
    ResolutionWarningSpec​(java.lang.String reason)
    Creates an element with the given reason attribute.
  • Method Summary

    Modifier and Type Method Description
    Jmod.ResolutionWarningReason getReason()
    Required attribute containing reason for emitting jmod warnings.
    void setReason​(Jmod.ResolutionWarningReason reason)
    Sets attribute containing reason for emitting jmod warnings.
    void validate()
    Verifies this object's state.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait