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.CommandBase
Deletes 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 void
end(boolean interrupted)
void
execute()
int
getLogAmount()
void
initialize()
boolean
isFinished()
-
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase
addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
-
-