Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
e16c5964
Commit
e16c5964
authored
Feb 07, 2019
by
Michal Augustýn
Committed by
Greg Messner
Feb 07, 2019
Browse files
chmod commit action (#293)
Added support for the chmod commit action.
parent
31cd97f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/CommitAction.java
View file @
e16c5964
...
...
@@ -10,7 +10,7 @@ public class CommitAction {
public
enum
Action
{
CREATE
,
DELETE
,
MOVE
,
UPDATE
;
CREATE
,
DELETE
,
MOVE
,
UPDATE
,
CHMOD
;
private
static
JacksonJsonEnumHelper
<
Action
>
enumHelper
=
new
JacksonJsonEnumHelper
<>(
Action
.
class
);
...
...
@@ -58,6 +58,7 @@ public class CommitAction {
private
String
content
;
private
Encoding
encoding
;
private
String
lastCommitId
;
private
Boolean
executeFilemode
;
public
Action
getAction
()
{
return
action
;
...
...
@@ -137,6 +138,19 @@ public class CommitAction {
return
this
;
}
public
Boolean
getExecuteFilemode
()
{
return
executeFilemode
;
}
public
void
setExecuteFilemode
(
Boolean
executeFilemode
)
{
this
.
executeFilemode
=
executeFilemode
;
}
public
CommitAction
withExecuteFilemode
(
Boolean
executeFilemode
)
{
this
.
executeFilemode
=
executeFilemode
;
return
this
;
}
@Override
public
String
toString
()
{
return
(
JacksonJson
.
toJsonString
(
this
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment