类 DefaultAotTestAttributes
java.lang.Object
cn.taketoday.test.context.aot.DefaultAotTestAttributes
- 所有已实现的接口:
AotTestAttributes
Default implementation of
AotTestAttributes backed by a Map.- 从以下版本开始:
- 4.0
- 作者:
- Sam Brannen, Harry Yang
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static voidRetrieve the attribute value for the given name as aString.voidremoveAttribute(String name) Remove the attribute stored under the provided name.voidsetAttribute(String name, String value) Set aStringattribute for later retrieval during AOT run-time execution.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.test.context.aot.AotTestAttributes
getBoolean, setAttribute
-
字段详细资料
-
attributes
-
-
构造器详细资料
-
DefaultAotTestAttributes
-
-
方法详细资料
-
setAttribute
从接口复制的说明:AotTestAttributesSet aStringattribute for later retrieval during AOT run-time execution.In general, users should take care to prevent overlaps with other metadata attributes by using fully-qualified names, perhaps using a class or package name as a prefix.
- 指定者:
setAttribute在接口中AotTestAttributes- 参数:
name- the unique attribute namevalue- the associated attribute value- 另请参阅:
-
AotTestAttributes.setAttribute(String, boolean)AotTestAttributes.removeAttribute(String)AotDetector.useGeneratedArtifacts()
-
removeAttribute
从接口复制的说明:AotTestAttributesRemove the attribute stored under the provided name.- 指定者:
removeAttribute在接口中AotTestAttributes- 参数:
name- the unique attribute name- 另请参阅:
-
AotDetector.useGeneratedArtifacts()AotTestAttributes.setAttribute(String, String)
-
getString
从接口复制的说明:AotTestAttributesRetrieve the attribute value for the given name as aString.- 指定者:
getString在接口中AotTestAttributes- 参数:
name- the unique attribute name- 返回:
- the associated attribute value, or
nullif not found - 另请参阅:
-
assertNotInAotRuntime
private static void assertNotInAotRuntime()
-