mil.dod.th.ose.shell/src/mil/dod/th/ose/shell/ObservationCommands.java
@Descriptor("Exports the specified observation as an XML file to the exports folder.")
    public void exportObs(final CommandSession commandSession,
            @Descriptor("The observation to be exported.")
            final Observation observation)
    {
        if (observation == null)
        {
            commandSession.getConsole().println("Please specify an observation to be exported.");
            return;
        }
        
        if (convertAndWrite(observation))
        {
            commandSession.getConsole().format(EXPORT_SUCCESSFUL, observation.getUuid());
        }
    }
/**
     * Exports the specified observation as an XML file.
     * 
     * @param commandSession
     *      Command session used to access the console.
     * @param observation
     *      The observation to be exported.
     */
Exports the specified observation as an XML file.

@param commandSession
Command session used to access the console.
@param observation
The observation to be exported.
Exports the specified observation as an XML file . @param commandSession Command session used to access the console . @param observation The observation to be exported .
@Descriptor("Exports the specified observation as an XML file to the exports folder.")
    public void exportObs(final CommandSession commandSession,
            @Descriptor("The observation to be exported.")
            final Observation observation)
    {
        if (observation == null)
        {
            commandSession.getConsole().println("Please specify an observation to be exported.");
            return;
        }
        if (convertAndWrite(observation))
        {
            commandSession.getConsole().format(EXPORT_SUCCESSFUL, observation.getUuid());
        }
    }
@ Descriptor ( "Exports the specified observation as an XML file to the exports folder." ) public void exportObs ( final CommandSession commandSession , @ Descriptor ( "The observation to be exported." ) final Observation observation ) { if ( observation == null ) { commandSession . getConsole ( ) . println ( "Please specify an observation to be exported." ) ; return ; } if ( convertAndWrite ( observation ) ) { commandSession . getConsole ( ) . format ( EXPORT_SUCCESSFUL , observation . getUuid ( ) ) ; } }
Exports the specified observation as an XML file.
Exports the specified observation as an XML file .