Class ResourceLimit
- java.lang.Object
-
- org.openrewrite.kubernetes.resource.ResourceLimit
-
public class ResourceLimit extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceLimit.ResourceValue
-
Constructor Summary
Constructors Constructor Description ResourceLimit(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringconvertToUnit(org.openrewrite.yaml.tree.Yaml.Scalar scalar)booleanexceeds(ResourceLimit.ResourceValue rv)ResourceLimit.ResourceValuegetValue()
-
-
-
Method Detail
-
convertToUnit
public java.lang.String convertToUnit(org.openrewrite.yaml.tree.Yaml.Scalar scalar)
-
getValue
public ResourceLimit.ResourceValue getValue()
-
exceeds
public boolean exceeds(ResourceLimit.ResourceValue rv)
-
-