com.netflix.fenzo.triggers.persistence.TriggerDao Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2015 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.netflix.fenzo.triggers.persistence;
import com.netflix.fenzo.triggers.Trigger;
import java.util.List;
/**
* @warn interface description missing
*/
public interface TriggerDao {
/**
* @warn method description missing
* @warn parameter descriptions missing
*
* @param triggerGroup
* @param trigger
* @return
*/
public String createTrigger(String triggerGroup, Trigger trigger);
/**
* @warn method description missing
* @warn parameter descriptions missing
*
* @param triggerGroup
* @param trigger
*/
public void deleteTrigger(String triggerGroup, Trigger trigger);
/**
* @warn method description missing
* @warn parameter description missing
*
* @param trigger
*/
public void updateTrigger(Trigger trigger);
/**
* @warn method description missing
* @warn parameter description missing
*
* @param triggerId
* @return
*/
public Trigger getTrigger(String triggerId);
/**
* @warn method description missing
* @warn parameter description missing
*
* @param triggerGroup
* @return
*/
public List getTriggers(String triggerGroup);
/**
* @warn method description missing
*
* @return
*/
public List getTriggers();
}