Skip to content

Commit

Permalink
Remove SPI from PipelineJobOption
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Nov 25, 2023
1 parent eac01d7 commit 6f4fb8f
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.apache.shardingsphere.data.pipeline.core.job.yaml.YamlPipelineJobItemProgressConfiguration;
import org.apache.shardingsphere.data.pipeline.core.job.yaml.YamlPipelineJobItemProgressSwapper;
import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPI;
import org.apache.shardingsphere.infra.util.yaml.YamlConfiguration;

import java.util.Optional;
Expand All @@ -33,7 +32,7 @@
* Pipeline job option.
*/
@SingletonSPI
public interface PipelineJobOption extends TypedSPI {
public interface PipelineJobOption {

/**
* Get YAML pipeline job configuration swapper.
Expand Down Expand Up @@ -95,6 +94,10 @@ default boolean isForceNoShardingWhenConvertToJobConfigurationPOJO() {
*/
Class<? extends PipelineJob> getJobClass();

@Override
/**
* Get job type.
*
* @return job type
*/
String getType();
}

0 comments on commit 6f4fb8f

Please sign in to comment.