001/* 002 * SPDX-FileCopyrightText: none 003 * SPDX-License-Identifier: CC0-1.0 004 */ 005 006package dev.metaschema.oscal.tools.cli.core.commands.assessmentplan; 007 008import dev.metaschema.core.model.IBoundObject; 009import dev.metaschema.oscal.lib.model.AssessmentPlan; 010import dev.metaschema.oscal.tools.cli.core.commands.AbstractOscalConvertCommand; 011import dev.metaschema.oscal.tools.cli.core.commands.ConvertCommand; 012 013/** 014 * Provides an OSCAL content conversion command. 015 * <p> 016 * This executor provides user feedback stating that this command is deprecated 017 * in favor of the {@link ConvertCommand}. 018 */ 019public class ConvertSubcommand 020 extends AbstractOscalConvertCommand { 021 @Override 022 public String getDescription() { 023 return "Convert the specified OSCAL Assessment Plan to a different format"; 024 } 025 026 @Override 027 public Class<? extends IBoundObject> getOscalClass() { 028 return AssessmentPlan.class; 029 } 030}