Package org.gitlab4j.api.models
Class CommitAction
java.lang.Object
org.gitlab4j.api.models.CommitAction
public class CommitAction extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommitAction.Action
-
Constructor Summary
Constructors Constructor Description CommitAction()
-
Method Summary
-
Constructor Details
-
CommitAction
public CommitAction()
-
-
Method Details
-
getAction
-
setAction
-
withAction
-
getFilePath
-
setFilePath
-
withFilePath
-
getPreviousPath
-
setPreviousPath
-
withPreviousPath
-
getContent
-
setContent
-
withContent
-
getEncoding
-
setEncoding
-
withEncoding
-
getLastCommitId
-
setLastCommitId
-
withLastCommitId
-
getExecuteFilemode
-
setExecuteFilemode
-
withExecuteFilemode
-
withFileContent
public CommitAction withFileContent(String filePath, Constants.Encoding encoding) throws GitLabApiException- Throws:
GitLabApiException
-
withFileContent
public CommitAction withFileContent(File file, String filePath, Constants.Encoding encoding) throws GitLabApiException- Throws:
GitLabApiException
-
toString
-