> + public String getSchedulingString() { > + if (this.args != null) { > + for (Map.Entry<String, String> entry : this.args.entrySet()) { > + return entry.getValue(); > + } > + } > + return null; > + } > + > + /** > + * @return The type of the schedule this policy uses. > + */ > + public ScalingPolicyScheduleType getSchedulingType() { > + if(this.args != null) { > + for (ScalingPolicyScheduleType type : > ScalingPolicyScheduleType.values()) { > + if (this.args.get(type.toString()) != null) {
Can we use the `getByValue` function defined below here..? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/72/files#r8697254