org.apache.maven.continuum.build.settings
Interface SchedulesActivator

All Known Implementing Classes:
DefaultSchedulesActivator

public interface SchedulesActivator

Version:
$Id: SchedulesActivator.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Jason van Zyl

Field Summary
static String ROLE
           
 
Method Summary
 void activateBuildSchedule(Schedule schedule, Continuum continuum)
          Activate schedule only for BuildDefinitions associated.
 void activatePurgeSchedule(Schedule schedule, Continuum continuum)
          Activate schedule only for PurgeConfiguration associated.
 void activateSchedule(Schedule schedule, Continuum continuum)
          Activate schedule by looking at the scheduling information contained within and submitting a Job to the scheduler.
 void activateSchedules(Continuum continuum)
          Grab all the stored Schedule objects and activate them by looking at the scheduling information contained within and submitting a Job to the scheduler.
 void unactivateOrphanBuildSchedule(Schedule schedule)
          Unactivate schedule buildDefinitions if it is not in a buildDefinition.
 void unactivateOrphanPurgeSchedule(Schedule schedule)
          Unactivate schedule purgeConfigurations if it is not in a purgeConfiguration.
 void unactivateSchedule(Schedule schedule, Continuum continuum)
          Unactivate schedule by looking at the scheduling information contained within.
 

Field Detail

ROLE

static final String ROLE
Method Detail

activateSchedules

void activateSchedules(Continuum continuum)
                       throws SchedulesActivationException
Grab all the stored Schedule objects and activate them by looking at the scheduling information contained within and submitting a Job to the scheduler.

Throws:
SchedulesActivationException

activateSchedule

void activateSchedule(Schedule schedule,
                      Continuum continuum)
                      throws SchedulesActivationException
Activate schedule by looking at the scheduling information contained within and submitting a Job to the scheduler.

Throws:
SchedulesActivationException

activatePurgeSchedule

void activatePurgeSchedule(Schedule schedule,
                           Continuum continuum)
                           throws SchedulesActivationException
Activate schedule only for PurgeConfiguration associated.

Throws:
SchedulesActivationException

activateBuildSchedule

void activateBuildSchedule(Schedule schedule,
                           Continuum continuum)
                           throws SchedulesActivationException
Activate schedule only for BuildDefinitions associated.

Throws:
SchedulesActivationException

unactivateSchedule

void unactivateSchedule(Schedule schedule,
                        Continuum continuum)
                        throws SchedulesActivationException
Unactivate schedule by looking at the scheduling information contained within.

Throws:
SchedulesActivationException

unactivateOrphanPurgeSchedule

void unactivateOrphanPurgeSchedule(Schedule schedule)
                                   throws SchedulesActivationException
Unactivate schedule purgeConfigurations if it is not in a purgeConfiguration.

Throws:
SchedulesActivationException

unactivateOrphanBuildSchedule

void unactivateOrphanBuildSchedule(Schedule schedule)
                                   throws SchedulesActivationException
Unactivate schedule buildDefinitions if it is not in a buildDefinition.

Throws:
SchedulesActivationException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.