1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.oscal.tools.cli.core.commands.poam;
7   
8   import gov.nist.secauto.metaschema.core.model.IBoundObject;
9   import gov.nist.secauto.oscal.lib.model.PlanOfActionAndMilestones;
10  import gov.nist.secauto.oscal.tools.cli.core.commands.AbstractOscalConvertCommand;
11  import gov.nist.secauto.oscal.tools.cli.core.commands.ConvertCommand;
12  
13  /**
14   * Provides an OSCAL content conversion command.
15   * <p>
16   * This executor provides user feedback stating that this command is deprecated
17   * in favor of the {@link ConvertCommand}.
18   */
19  public class ConvertSubcommand
20      extends AbstractOscalConvertCommand {
21    @Override
22    public String getDescription() {
23      return "Convert the specified OSCAL Plan of Actions and Milestones to a different format";
24    }
25  
26    @Override
27    public Class<? extends IBoundObject> getOscalClass() {
28      return PlanOfActionAndMilestones.class;
29    }
30  }