mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/mp/TestProgramImpl.java
private ProgramImpl createProgram(final String name)
    {
        MissionProgramSchedule schedule = createMissionSchedule(0L, 0L, false, true, true, false);
        MissionProgramTemplate programMission = new MissionProgramTemplate().withVendor("hello").
            withSupportTestExecution(true);
        programMission.setName(name);
        programMission.setSource("TheSourceIsHere");
        programMission.setPrimaryImage(new DigitalMedia().withEncoding("Hieroglyphics"));
        return new ProgramImpl(m_Manager, m_EventAdmin, programMission, new MissionProgramParameters().
             withSchedule(schedule).withProgramName(name), UUID.randomUUID());
    }
/**
     * Helper method that creates a mission with the given name.
     * @return 
     *     the program impl object
     */
Helper method that creates a mission with the given name.
@return
the program impl object
Helper method that creates a mission with the given name . @return the program impl object
private ProgramImpl createProgram(final String name)
    {
        MissionProgramSchedule schedule = createMissionSchedule(0L, 0L, false, true, true, false);
        MissionProgramTemplate programMission = new MissionProgramTemplate().withVendor("hello").
            withSupportTestExecution(true);
        programMission.setName(name);
        programMission.setSource("TheSourceIsHere");
        programMission.setPrimaryImage(new DigitalMedia().withEncoding("Hieroglyphics"));
        return new ProgramImpl(m_Manager, m_EventAdmin, programMission, new MissionProgramParameters().
             withSchedule(schedule).withProgramName(name), UUID.randomUUID());
    }
private ProgramImpl createProgram ( final String name ) { MissionProgramSchedule schedule = createMissionSchedule ( 0L , 0L , false , true , true , false ) ; MissionProgramTemplate programMission = new MissionProgramTemplate ( ) . withVendor ( "hello" ) . withSupportTestExecution ( true ) ; programMission . setName ( name ) ; programMission . setSource ( "TheSourceIsHere" ) ; programMission . setPrimaryImage ( new DigitalMedia ( ) . withEncoding ( "Hieroglyphics" ) ) ; return new ProgramImpl ( m_Manager , m_EventAdmin , programMission , new MissionProgramParameters ( ) . withSchedule ( schedule ) . withProgramName ( name ) , UUID . randomUUID ( ) ) ; }
Helper method that creates a mission with the given name.
Helper method that creates a mission with the given name .