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

dev.galasa.framework.spi.DssResourceAdd Maven / Gradle / Ivy

There is a newer version: 0.37.0
Show newest version
/*
 * Copyright contributors to the Galasa project
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package dev.galasa.framework.spi;

import javax.validation.constraints.NotNull;

/**
 * This action is for the framework status area of Manager.
 *
 * This DSS action request that a NEW property is added to the DSS.   If the 
 * property already exists, the transaction will fail.
 * If you want to add a property whether it exists or not, use DssUpdate
 * 
 *  
 *
 */
public class DssResourceAdd extends DssAdd implements IDssResourceAction {

    public DssResourceAdd(@NotNull String key, @NotNull String value) {
        super(key, value);
    }

    @Override
    public IDssAction applyPrefix(String prefix) {
        return new DssAdd(prefix + getKey(), getValue());
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy