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

com.vikingbrain.nmt.operations.setting.ListRepeatModeOperation Maven / Gradle / Ivy

package com.vikingbrain.nmt.operations.setting;

import com.vikingbrain.nmt.operations.ModuleType;
import com.vikingbrain.nmt.operations.OperationType;
import com.vikingbrain.nmt.operations.TheDavidboxOperationFactory;
import com.vikingbrain.nmt.responses.setting.ResponseListRepeatMode;

/**
 * Operation that lists all the supported play modes.
 * Execution example: http://popcorn:8008/setting?arg0=list_repeat_mode
 * 
 * @author vikingBrain
 */
public class ListRepeatModeOperation extends AbstractSettingOperation {

	/** Operation type. */
	private static final OperationType operationType = ModuleType.SETTING.list_repeat_mode;

	/** Response target class. */
	private static final Class responseTargetClass = ResponseListRepeatMode.class;

	/**
	 * Constructor.
	 * @param operationFactory the operation factory
	 */
	public ListRepeatModeOperation(TheDavidboxOperationFactory operationFactory) {
		super(operationFactory, operationType, responseTargetClass);
	}

	@Override
	public String toString() {
		return "ListRepeatModeOperation [getOperationType()="
				+ getOperationType() + "]";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy