public class IntegrityDeleteNonMembersTask extends Object implements hudson.FilePath.FileCallable<Boolean>
| Constructor and Description |
|---|
IntegrityDeleteNonMembersTask(hudson.model.TaskListener listener,
String alternateWorkspaceDir,
List<Hashtable<CM_PROJECT,Object>> projectMembersList,
List<String> folderList) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker)
Indicates that this task can be run slaves.
|
void |
deleteNonMembers(File workspaceFile)
Delete all members in the build workspace that are not under version control
|
Boolean |
invoke(File workspaceFile,
hudson.remoting.VirtualChannel channel)
Invoke the delete non-members task
|
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker)
throws SecurityException
checkRoles in interface org.jenkinsci.remoting.RoleSensitivechecker - RoleCheckerSecurityExceptionpublic Boolean invoke(File workspaceFile, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
invoke in interface hudson.FilePath.FileCallable<Boolean>IOExceptionInterruptedExceptionpublic void deleteNonMembers(File workspaceFile) throws SQLException, IOException, InterruptedException
Copyright © 2016–2024. All rights reserved.