org.opensearch.ml.common.annotation.MLAlgoParameter Maven / Gradle / Ivy
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
package org.opensearch.ml.common.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.opensearch.ml.common.FunctionName;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface MLAlgoParameter {
// supported algorithms. One type of parameter may support multiple algorithms.
FunctionName[] algorithms();
}