Package net.runelite.client.config
Class ProfileManager.Lock
- java.lang.Object
-
- net.runelite.client.config.ProfileManager.Lock
-
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- ProfileManager
public class ProfileManager.Lock extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description Lock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
ConfigProfile
createProfile(String name)
ConfigProfile
createProfile(String name, long id)
void
dirty()
ConfigProfile
findProfile(long id)
ConfigProfile
findProfile(String name)
ConfigProfile
findProfile(Predicate<ConfigProfile> condition)
List<ConfigProfile>
getProfiles()
void
removeProfile(long id)
void
renameProfile(ConfigProfile profile, String name)
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
getProfiles
public List<ConfigProfile> getProfiles()
-
createProfile
public ConfigProfile createProfile(String name, long id)
-
createProfile
public ConfigProfile createProfile(String name)
-
findProfile
public ConfigProfile findProfile(String name)
-
findProfile
public ConfigProfile findProfile(long id)
-
findProfile
public ConfigProfile findProfile(Predicate<ConfigProfile> condition)
-
removeProfile
public void removeProfile(long id)
-
renameProfile
public void renameProfile(ConfigProfile profile, String name)
-
dirty
public void dirty()
-
-