@Test public void testSetSticky() { assertTrue(new Permission(1755).isSticky()); assertTrue(new Permission(3755).isSticky()); assertTrue(new Permission(5755).isSticky()); assertFalse(new Permission(2755).isSticky()); assertFalse(new Permission(6755).isSticky()); assertEquals("1000", new Permission(1000).getMode()); assertEquals("--------T", new Permission(1000).getSymbol()); }
public void setSticky(final boolean sticky) { this.sticky = sticky; }
Permission implements Serializable { public void setSticky(final boolean sticky) { this.sticky = sticky; } }
Permission implements Serializable { public void setSticky(final boolean sticky) { this.sticky = sticky; } Permission();  Permission(final String mode);  Permission(final Action u, final Action g, final Action o);  Permission(final Action u, final Action g, final Action o,
                      final boolean stickybit, final boolean setuid, final boolean setgid);  Permission(final int mode);  Permission(final Permission other); }
Permission implements Serializable { public void setSticky(final boolean sticky) { this.sticky = sticky; } Permission();  Permission(final String mode);  Permission(final Action u, final Action g, final Action o);  Permission(final Action u, final Action g, final Action o,
                      final boolean stickybit, final boolean setuid, final boolean setgid);  Permission(final int mode);  Permission(final Permission other); @Override T serialize(final Serializer dict); Action getUser(); void setUser(final Action user); Action getGroup(); void setGroup(final Action group); Action getOther(); void setOther(final Action other); boolean isSetuid(); void setSetuid(final boolean setuid); boolean isSetgid(); void setSetgid(final boolean setgid); boolean isSticky(); void setSticky(final boolean sticky); String getSymbol(); String getMode(); @Override String toString(); boolean isExecutable(); boolean isReadable(); boolean isWritable(); @Override boolean equals(final Object o); int hashCode(); }
Permission implements Serializable { public void setSticky(final boolean sticky) { this.sticky = sticky; } Permission();  Permission(final String mode);  Permission(final Action u, final Action g, final Action o);  Permission(final Action u, final Action g, final Action o,
                      final boolean stickybit, final boolean setuid, final boolean setgid);  Permission(final int mode);  Permission(final Permission other); @Override T serialize(final Serializer dict); Action getUser(); void setUser(final Action user); Action getGroup(); void setGroup(final Action group); Action getOther(); void setOther(final Action other); boolean isSetuid(); void setSetuid(final boolean setuid); boolean isSetgid(); void setSetgid(final boolean setgid); boolean isSticky(); void setSticky(final boolean sticky); String getSymbol(); String getMode(); @Override String toString(); boolean isExecutable(); boolean isReadable(); boolean isWritable(); @Override boolean equals(final Object o); int hashCode(); static final Permission EMPTY; }