Class DeleteLogCommand
- java.lang.Object
-
- edu.wpi.first.wpilibj2.command.CommandBase
-
- com.lightningrobotics.common.command.core.DeleteLogCommand
-
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Command
public class DeleteLogCommand extends edu.wpi.first.wpilibj2.command.CommandBaseDeletes RoboRio log files
-
-
Constructor Summary
Constructors Constructor Description DeleteLogCommand(int filesToKeep)Commmand that deletes a certain number of log files, starting from the oldest
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend(boolean interrupted)voidexecute()intgetLogAmount()voidinitialize()booleanisFinished()-
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase
addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
-
-