com.foxsmart.csu.config
Interface MultiLineComponent

All Known Implementing Classes:
AccessClassComponent, AccessListComponent, AutoselectComponent, BannerComponent, DialerIsdnComponent, DispatchCharacterComponent, EnableComponent, EscapeCharacterComponent, FlowcontrolComponent, FrameRelayEndToEndKeepaliveComponent, IpAccessListComponent, IpComponent, IpRouteComponent, ModemComponent, PaddingComponent, RateLimitComponent, RefuseMessageComponent, SchedulerComponent, ScriptComponent, ServiceComponent, ServicePolicyComponent, StateMachineComponent, TelnetComponent, TransportComponent, VacantMessageComponent

public interface MultiLineComponent

This interface identifies a component whose IOS configuration spans multiple lines.


Method Summary
 Commands generateDeleteIos(CiscoRouterConfig updatedCiscoRouterConfig)
          Generates the IOS configuration commands to delete this component.
 

Method Detail

generateDeleteIos

Commands generateDeleteIos(CiscoRouterConfig updatedCiscoRouterConfig)
                           throws InvalidConfigurationException
Generates the IOS configuration commands to delete this component. Since multi-line components typically can't be deleted by specifying a "NO" followed by generateIos() (i.e. the default implementation in the base class), they should implement this method to ensure they are deleted properly.

Parameters:
updatedCiscoRouterConfig - the updated Cisco router configuration.
Returns:
The generated IOS commands to deleted the component.
Throws:
InvalidConfigurationException - if the IOS configuration is invalid and the IOS string can not be generated. The validate() method is used to determine if the configuration is valid.


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.