public static class MacroDef.Attribute
extends java.lang.Object
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
equality method
|
java.lang.String |
getDefault() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
int |
hashCode() |
boolean |
isDoubleExpanding()
Determines whether
RuntimeConfigurable.maybeConfigure(Project, boolean) will reevaluate this property. |
void |
setDefault(java.lang.String defaultValue)
The default value to use if the parameter is not
used in the templated instance.
|
void |
setDescription(java.lang.String desc) |
void |
setDoubleExpanding(boolean doubleExpanding)
See
isDoubleExpanding() for explanation. |
void |
setName(java.lang.String name)
The name of the attribute.
|
public void setName(java.lang.String name)
name
- the name of the attributepublic java.lang.String getName()
public void setDefault(java.lang.String defaultValue)
defaultValue
- the default valuepublic java.lang.String getDefault()
public void setDescription(java.lang.String desc)
desc
- Description of the element.public java.lang.String getDescription()
null
if
no description is available.public void setDoubleExpanding(boolean doubleExpanding)
isDoubleExpanding()
for explanation.doubleExpanding
- true to expand twice, false for just oncepublic boolean isDoubleExpanding()
RuntimeConfigurable.maybeConfigure(Project, boolean)
will reevaluate this property.
For compatibility reasons (#52621) it will, though for most applications (#42046) it should not.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- an Object
valueboolean
valuepublic int hashCode()
hashCode
in class java.lang.Object