All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.swarm.config.remoting.Property Maven / Gradle / Ivy

package org.wildfly.swarm.config.remoting;

import org.wildfly.config.runtime.Implicit;
import org.wildfly.config.runtime.ResourceType;
import org.wildfly.config.runtime.ModelNodeBinding;
/**
 * Properties supported by the underlying provider. The property name is inferred from the last element of the properties address.
 */
@ResourceType("property")
public class Property {

	private String key;
	private String value;

	public Property(String key) {
		this.key = key;
	}

	public String getKey() {
		return this.key;
	}

	/**
	 * The property value.
	 */
	@ModelNodeBinding(detypedName = "value")
	public String value() {
		return this.value;
	}

	/**
	 * The property value.
	 */
	@SuppressWarnings("unchecked")
	public Property value(String value) {
		this.value = value;
		return (Property) this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy